- Timestamp:
- Feb 23, 2010, 2:28:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AddressDetailedController.groovy
r397 r403 66 66 def version = params.version.toLong() 67 67 if(addressInstance.version > version) { 68 69 addressInstance.errors.rejectValue("version", " address.optimistic.locking.failure", "Another user has updated this Address while you were editing.")68 69 addressInstance.errors.rejectValue("version", "default.optimistic.locking.failure") 70 70 render(view:'edit',model:[addressInstance:addressInstance]) 71 71 return
Note: See TracChangeset
for help on using the changeset viewer.