All Broken Attachments

Last modified by Vincent Massol on 2021/03/18 11:28

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

Jerome

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Table of contents

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}}
     

Get Connected