Author: michiel
Date: 2010-03-11 12:05:26 +0100 (Thu, 11 Mar 2010)
New Revision: 41331

Modified:
   
mmbase/trunk/applications/vpro-wizards/src/main/java/org/mmbase/applications/vprowizards/spring/WizardController.java
Log:
detail only

Modified: 
mmbase/trunk/applications/vpro-wizards/src/main/java/org/mmbase/applications/vprowizards/spring/WizardController.java
===================================================================
--- 
mmbase/trunk/applications/vpro-wizards/src/main/java/org/mmbase/applications/vprowizards/spring/WizardController.java
       2010-03-11 11:05:10 UTC (rev 41330)
+++ 
mmbase/trunk/applications/vpro-wizards/src/main/java/org/mmbase/applications/vprowizards/spring/WizardController.java
       2010-03-11 11:05:26 UTC (rev 41331)
@@ -80,12 +80,12 @@
         command.processActions(request, response, resultContainer);
 
         if (resultContainer.hasGlobalErrors() || 
resultContainer.hasFieldErrors()) {
-            log.debug("Errors found, transaction not committed.");
+            log.debug("Errors found, transaction not committed, but 
cancelled");
             transaction.cancel();
 
         } else {
             log.debug("No errors found. Commit transaction [" + 
transaction.getName() + "] and put the cache flush hints on the request.");
-            resultContainer.getTransaction().commit();
+            transaction.commit();
 
 
             // create the request type cache flush hint

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to