Hi,

On 26/01/16 04:08, Feed My Lambs Esq. wrote:
Thanks helix84 for confirming that deletion of blank values might be safe! I have not seen negative ramifications yet.

Has anyone been able to reproduce the "broken" layout like I was?

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


--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to