From 99e6acab6b134af38f5ccf93e35877b51d8c8eee Mon Sep 17 00:00:00 2001 From: Andrea Bollini Date: Sun, 29 Mar 2009 17:51:22 +0000 Subject: [PATCH] [DS-115] metadata not showed in verify step git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3647 9c30dcfa-912a-0410-8fc2-9e0234be79fd --- .../src/main/webapp/submit/review-metadata.jsp | 6 +++++- dspace/CHANGES | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dspace-jspui/dspace-jspui-webapp/src/main/webapp/submit/review-metadata.jsp b/dspace-jspui/dspace-jspui-webapp/src/main/webapp/submit/review-metadata.jsp index 06847379aa..f24553b64f 100644 --- a/dspace-jspui/dspace-jspui-webapp/src/main/webapp/submit/review-metadata.jsp +++ b/dspace-jspui/dspace-jspui-webapp/src/main/webapp/submit/review-metadata.jsp @@ -159,7 +159,11 @@ String storedVal = values[i].value; String displayVal = inputs[z].getDisplayString(pairsName, storedVal); - if (displayVal == null || displayVal.equals("")) + if (displayVal != null && !displayVal.equals("")) + { + row.append(Utils.addEntities(displayVal)); + } + else if (storedVal != null && !storedVal.equals("")) { // use the stored value as label rather than null row.append(Utils.addEntities(storedVal)); diff --git a/dspace/CHANGES b/dspace/CHANGES index 597e0b828a..d7b699d1e3 100644 --- a/dspace/CHANGES +++ b/dspace/CHANGES @@ -117,6 +117,8 @@ - [DS-126] Request to [dspace-base-url]/bitstream throw NPE - [DS-67] Impossible retry/resume after upload a file with internal format - [DS-66] bitstream format registry, setting bitstream internal - ID: 1896055 + - [DS-115] metadata not showed in verify step + (Paulo Jobim) - SF Patch [2655052] Authors re-ordered when item edited (xmlui)