← Back to team overview

slub.team team mailing list archive

[Merge] lp:~henning-gerhardt/goobi-production/bug-962023 into lp:goobi-production

 

Henning Gerhardt has proposed merging lp:~henning-gerhardt/goobi-production/bug-962023 into lp:goobi-production.

Requested reviews:
  Ralf Claussnitzer (ralf-claussnitzer)
Related bugs:
  Bug #962023 in Goobi.Production: "add task to process causes null pointer exception"
  https://bugs.launchpad.net/goobi-production/+bug/962023

For more details, see:
https://code.launchpad.net/~henning-gerhardt/goobi-production/bug-962023/+merge/98842

Initialisation of myPropTemplateCollection in constructor or in the missing else part in getPropertyTemplateAsList() prevent the null pointer exception later in getSortedProperties().
-- 
https://code.launchpad.net/~henning-gerhardt/goobi-production/bug-962023/+merge/98842
Your team Saxon State Library Team is subscribed to branch lp:goobi-production.
=== modified file 'src/de/sub/goobi/beans/property/DisplayPropertyList.java'
--- src/de/sub/goobi/beans/property/DisplayPropertyList.java	2012-02-22 07:43:02 +0000
+++ src/de/sub/goobi/beans/property/DisplayPropertyList.java	2012-03-22 13:51:29 +0000
@@ -55,6 +55,7 @@
 
 	public DisplayPropertyList(IGoobiEntity inEntity) {
 		owningEntity = inEntity;
+		myPropTemplateCollection = new ArrayList<PropertyTemplate>();
 	}
 
 	/**


Follow ups