Task #977

Conflict status handler

Added by Davide Principi over 7 years ago. Updated over 5 years ago.

Status:CLOSEDStart date:04/03/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v1.5.0

Description

http 409 - Conflict state may occur during object creation, if an object of the same key exists.

This happens before key field validation but can be treated as a special case of validation. See \Nethgui\Controller\Table\Modify class.

Associated revisions

Revision cce9d7be
Added by Davide Principi over 7 years ago

Table Modify UI action: fixed duplicate checking. Refs #977 - Conflict status handler

History

#1 Updated by Davide Principi over 7 years ago

  • Description updated (diff)
  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 0 to 50

The 409 response has been introduced in fd4d5b86.

Change to a generic validation error.

In Modify::validate() we can check if the key exists in the tableAdapter: this does not check if the key is used elsewhere.

#2 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 50 to 100

#4 Updated by Davide Principi over 5 years ago

  • Target version deleted (DEV3)

Also available in: Atom PDF