Ignore:
Timestamp:
02/23/10 14:28:24 (8 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/AuthorityController.groovy

    r178 r403  
    8181        long version = params.version.toLong() 
    8282        if (authority.version > version) { 
    83             authority.errors.rejectValue 'version', 'authority.optimistic.locking.failure', 
    84                 'Another user has updated this Authority while you were editing.' 
     83            authority.errors.rejectValue 'version', "default.optimistic.locking.failure" 
    8584            render view: 'edit', model: [authority: authority] 
    8685            return 
Note: See TracChangeset for help on using the changeset viewer.