mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Fix for SF Bug #1571645 NullPointerException possible in review.jsp
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3377 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -158,7 +158,11 @@
|
||||
String storedVal = values[i].value;
|
||||
String displayVal = inputs[z].getDisplayString(pairsName,
|
||||
storedVal);
|
||||
row.append(Utils.addEntities(displayVal));
|
||||
if (displayVal == null || displayVal.equals(""))
|
||||
{
|
||||
// use the stored value as label rather than null
|
||||
row.append(Utils.addEntities(storedVal));
|
||||
}
|
||||
}
|
||||
else if (inputType.equals("qualdrop_value"))
|
||||
{
|
||||
@@ -167,9 +171,9 @@
|
||||
String displayQual = inputs[z].getDisplayString(pairsName,
|
||||
qual);
|
||||
String displayValue = Utils.addEntities(values[i].value);
|
||||
if (displayQual != null)
|
||||
if (displayValue != null)
|
||||
{
|
||||
row.append(displayQual + ":" + displayValue);
|
||||
row.append((displayQual == null ? qual : displayQual) + ":" + displayValue);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -31,6 +31,7 @@
|
||||
- Fix for SF Bug #1968082 SWORD Service Document fails if Collection is untitled
|
||||
- Fix for SF Bug #2493794 Hardcoded Strings in DSQuery
|
||||
- Fix for SF Bug #1745573 Itemmap-browse.jsp throws Exception on items without date
|
||||
- Fix for SF Bug #1571645 NullPointerException possible in review.jsp
|
||||
|
||||
(Elliot Metsger)
|
||||
- Patch for SF bug #2016130 checksum checker can not retrieve very large bitstream
|
||||
|
Reference in New Issue
Block a user