Ignore:
Timestamp:
May 27, 2010, 3:57:41 PM (14 years ago)
Author:
duh
Message:
  • enabled SQL logging for postgres in 'production'
  • added extra debug check to termEditorController save call
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/TermEditorController.groovy

    r459 r486  
    8585                                if (term.validate()) {
    8686                                        println "Term validated correctly"
    87                                         term.save()
     87                                        if (term.save(flush:true)) {
     88                                                println ".term save ok"
     89                                        } else {
     90                                                println ".term save failed?"
     91                                        }
    8892                                        success()
    8993                    flash.message = "Term addition succeeded"
Note: See TracChangeset for help on using the changeset viewer.