Task #977
Conflict status handler
Status: | CLOSED | Start date: | 04/03/2012 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Table Modify UI action: fixed duplicate checking. Refs #977 - Conflict status handler
History
#1 Updated by Davide Principi over 9 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 9 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 50 to 100
Applied in changeset 0646b4b13c877e1b15fff3246a525cafb25af52a.
#4 Updated by Davide Principi over 7 years ago
- Target version deleted (
DEV3)