DSpace/DSpace — pull request #25 by KevinVdV (2012-06-09 08:40:05+00:00)
Title: [DS-1039] Item view in Mirage theme broken when ORIGINAL or CONTENT bundle present and empty

Lines 45 in Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl and 45 & 325 in dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl check for the existence of a CONTENT or ORIGINAL file group before generating the item's file list. If the bundles exist but are empty, the resulting HTML throws off the display.

A possible solution is to adjust the test condition to: