Changeset 279 for trunk/grails-app/controllers
- Timestamp:
- Mar 17, 2010, 3:18:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r278 r279 502 502 println "saved study "+flow.study+" (id: "+flow.study.id+")" 503 503 504 // commit transaction 505 println "commit" 506 transaction.commit() 507 success() 504 508 } catch (Exception e) { 505 509 // rollback 510 this.appendErrorMap(['exception': e.toString() + ', see log for stacktrace' ], flash.errors) 511 512 // debug line 513 println e.printStackTrace() 514 506 515 println "rollback" 507 516 transaction.rollback() 508 517 error() 509 518 } 510 511 // commit transaction512 println "commit"513 transaction.commit()514 success()515 519 } 516 520 on("error").to "error"
Note: See TracChangeset
for help on using the changeset viewer.