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/TaskModificationController.groovy

    r178 r403  
    6161                if(taskModificationInstance.version > version) {
    6262                   
    63                     taskModificationInstance.errors.rejectValue("version", "taskModification.optimistic.locking.failure", "Another user has updated this TaskModification while you were editing.")
     63                    taskModificationInstance.errors.rejectValue("version", "default.optimistic.locking.failure")
    6464                    render(view:'edit',model:[taskModificationInstance:taskModificationInstance])
    6565                    return
Note: See TracChangeset for help on using the changeset viewer.