Ignore:
Timestamp:
Feb 23, 2010, 2:28:24 PM (15 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/PersonController.groovy

    r375 r403  
    113113            long version = params.version.toLong()
    114114            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"
    117116                render view: 'edit', model: buildPersonModel(person)
    118117                return
Note: See TracChangeset for help on using the changeset viewer.