Item view in Mirage theme broken when ORIGINAL or CONTENT bundle present and empty ----------------------------------------------------------------------------------
Key: DS-1039 URL: https://jira.duraspace.org/browse/DS-1039 Project: DSpace Issue Type: Bug Components: XMLUI Affects Versions: 1.7.2 Reporter: Jennifer Whitney Attachments: Screen Shot 2011-09-23 at 10.48.38 AM.png 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: <xsl:when test="./mets:fileSec/mets:fileGrp[@USE='CONTENT' or @USE='ORIGINAL']/mets:file"> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.duraspace.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel