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

    r392 r403  
    198198                if(inventoryItemInstance.version > version) {
    199199                   
    200                     inventoryItemInstance.errors.rejectValue("version", "inventoryItem.optimistic.locking.failure", "Another user has updated this InventoryItem while you were editing.")
     200                    inventoryItemInstance.errors.rejectValue("version", "default.optimistic.locking.failure")
    201201                    render(view:'edit',model:[inventoryItemInstance:inventoryItemInstance])
    202202                    return
Note: See TracChangeset for help on using the changeset viewer.