← Back to team overview

slub.team team mailing list archive

[Merge] lp:~slub.team/goobi-production/bug-1030831 into lp:goobi-production

 

Henning Gerhardt has proposed merging lp:~slub.team/goobi-production/bug-1030831 into lp:goobi-production.

Requested reviews:
  Ralf Claussnitzer (ralf-claussnitzer)
Related bugs:
  Bug #1030831 in Goobi.Production: "Null pointer exception on ExportDMS"
  https://bugs.launchpad.net/goobi-production/+bug/1030831

For more details, see:
https://code.launchpad.net/~slub.team/goobi-production/bug-1030831/+merge/117247
-- 
https://code.launchpad.net/~slub.team/goobi-production/bug-1030831/+merge/117247
Your team Saxon State Library Team is subscribed to branch lp:goobi-production.
=== modified file 'src/de/sub/goobi/helper/GoobiScript.java'
--- src/de/sub/goobi/helper/GoobiScript.java	2012-02-22 07:43:02 +0000
+++ src/de/sub/goobi/helper/GoobiScript.java	2012-07-30 12:02:18 +0000
@@ -858,7 +858,7 @@
 
 	private void exportDms(List<Prozess> processes, String exportImages) {
 		ExportDms dms;
-		if (exportImages.equals("false")) {
+		if (exportImages != null && exportImages.equals("false")) {
 			dms = new ExportDms(false);
 		} else {
 			dms = new ExportDms(true);


Follow ups