Changeset 1454 for trunk/grails-app/domain/dbnp/studycapturing/Assay.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/Assay.groovy
r1452 r1454 80 80 if( !this.assayUUID ) { 81 81 this.assayUUID = UUID.randomUUID().toString(); 82 this.save(); 82 if( !this.save(flush:true) ) { 83 log.error "Couldn't save assay UUID: " + this.getErrors(); 84 } 83 85 } 84 86
Note: See TracChangeset
for help on using the changeset viewer.