Changeset 403 for trunk/grails-app/controllers/PersonController.groovy
- Timestamp:
- Feb 23, 2010, 2:28:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/PersonController.groovy
r375 r403 113 113 long version = params.version.toLong() 114 114 if (person.version > version) { 115 person.errors.rejectValue 'version', "person.optimistic.locking.failure", 116 "Another user has updated this Person while you were editing." 115 person.errors.rejectValue 'version', "default.optimistic.locking.failure" 117 116 render view: 'edit', model: buildPersonModel(person) 118 117 return
Note: See TracChangeset
for help on using the changeset viewer.