Changeset 1192

Show
Ignore:
Timestamp:
23-11-10 12:37:18 (3 years ago)
Author:
work@…
Message:

- looking into #187 which is reproducable on ci, but not on dev. Testing with flushing to database...

Files:
1 modified

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()