Changeset 1192


Ignore:
Timestamp:
Nov 23, 2010, 12:37:18 PM (6 years ago)
Author:
work@…
Message:
  • looking into #187 which is reproducable on ci, but not on dev. Testing with flushing to database...
File:
1 edited

Legend:

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

    r1177 r1192  
    101101                                        if (term.validate()) {
    102102                                                // save the term to the database
    103                                                 if (term.save()) {
     103                                                if (term.save(flush:true)) {
    104104                                                        flash.message = "'" + params.get('term') + "' was successfully added, either search for another term to add or close this window"
    105105                                                        success()
Note: See TracChangeset for help on using the changeset viewer.