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

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