page_white_errorDisplays the list of broken attachments (0 bytes content size)
Developed by

Jerome

Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1

Description

= List of documents with broken attachments =

{{velocity}}
#foreach($pair in $xwiki.search("select document.fullName, attachment.filename from XWikiDocument as document, XWikiAttachment as attachment, XWikiAttachmentContent as content where attachment.docId=document.id and content.id=attachment.id and length(content.content) = 0"))
* $listtool.get($pair, 0) : $listtool.get($pair, 1)
#end
{{/velocity}}

Prerequisites & Installation Instructions

Copy the code snippet to a page and save it.

Created by Raluca Stavro on 2010/10/13 10:15
     

Get Connected