Changeset 1454 for trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
- Timestamp:
- Jan 28, 2011, 12:00:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r1452 r1454 517 517 if( !this.studyUUID ) { 518 518 this.studyUUID = UUID.randomUUID().toString(); 519 this.save(); 519 if( !this.save(flush:true) ) { 520 log.error "Couldn't save study UUID: " + this.getErrors(); 521 } 520 522 } 521 523
Note: See TracChangeset
for help on using the changeset viewer.