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

    r385 r403  
    7878                if(sectionInstance.version > version) {
    7979                   
    80                     sectionInstance.errors.rejectValue("version", "section.optimistic.locking.failure", "Another user has updated this Section while you were editing.")
     80                    sectionInstance.errors.rejectValue("version", "default.optimistic.locking.failure")
    8181                    render(view:'edit',model:[sectionInstance:sectionInstance])
    8282                    return
Note: See TracChangeset for help on using the changeset viewer.