Ignore:
Timestamp:
Feb 23, 2010, 2:28:24 PM (14 years ago)
Author:
gav
Message:

Change all controllers to use default.optimistic.locking.failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/AddressDetailedController.groovy

    r397 r403  
    6666                def version = params.version.toLong()
    6767                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")
    7070                    render(view:'edit',model:[addressInstance:addressInstance])
    7171                    return
Note: See TracChangeset for help on using the changeset viewer.