diff gnv/src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java @ 1002:b1eea43ba133

Second attempt to apply redirect link patch. gnv/trunk@1206 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 13 Jun 2010 16:28:37 +0000
parents 27029f0ec7e1
children 1b42a86184f6
line wrap: on
line diff
--- a/gnv/src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java	Fri Jun 11 12:11:52 2010 +0000
+++ b/gnv/src/main/java/de/intevation/gnv/action/NextArtifactStepAction.java	Sun Jun 13 16:28:37 2010 +0000
@@ -98,7 +98,7 @@
                         );
                     }
                     catch (ArtifactDatabaseInputException e) {
-                        log.error(e, e);
+                        log.debug(e, e);
                         request.setAttribute(
                             CommunicationKeys.REQUEST_EXCEPTION_INPUT_ID,
                             e.getMessage());
@@ -113,7 +113,7 @@
                     Map tmpOuts = ad.getOutputModes();
                     request.setAttribute(
                         "furthertargets",
-                        tmpOuts == null || tmpOuts.isEmpty()
+                        Boolean.valueOf(tmpOuts == null || tmpOuts.isEmpty())
                     );
                 } else {
                     try{
@@ -139,7 +139,7 @@
                             e.getMessage());
                     }
 
-                    request.setAttribute("furthertargets", false);
+                    request.setAttribute("furthertargets", Boolean.FALSE);
                 }
             }else{
                 log.warn("SessionTimeout has occured");

http://dive4elements.wald.intevation.org