|
Hi, On 26/01/16 04:08, Feed My Lambs Esq.
wrote:
Yes, I've seen this happen too. A blank value for a metadata field generally results in a self-closing div or other element in the generated html and that throws off the layout. Newer versions of Mirage 1 have protection against this built in; I'm not sure this is present in Mirage 2. See eg where the abstract is rendered here https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl#L239 <xsl:when test="$clause = 5 and (dim:field[@element='description' and @qualifier='abstract' and descendant::text()])"> The "and descendant::text()" part of the check ensures that there is an actual value for the abstract. You may need to update any custom themes to include that bit. cheers, Andrea -- Dr Andrea Schweer Lead Software Developer, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- |
- [dspace-tech] Blank metadatavalue(s) break item details... Feed My Lambs Esq.
- Re: [dspace-tech] Blank metadatavalue(s) break ite... Bram Luyten
- Re: [dspace-tech] Blank metadatavalue(s) break ite... helix84
- Re: [dspace-tech] Blank metadatavalue(s) break... Feed My Lambs Esq.
- Re: [dspace-tech] Blank metadatavalue(s) b... Andrea Schweer
- Re: [dspace-tech] Blank metadatavalue(... Feed My Lambs Esq.
