Bug #72
Validation of database values throws validation errors
Status: | CLOSED | Start date: | 04/13/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Epsilon | |||
Security class: | Resolution: | |||
Affected version: | NEEDINFO: |
Description
Validation triggers an error when a value coming from db violates the validation rule.
This happens during a clean GET request, when parameters from user are missing and the form is compiled with database values.
Associated revisions
Refs #72. Validation of submitted values only.
History
#1 Updated by Davide Principi over 10 years ago
Only input data from the User must be validated. Database values can skip the validation step: if they are invalid, the problem will be reported on the next submit.
Solution: keep track of user-submitted parameters and perform validation only on these.
#2 Updated by Davide Principi over 10 years ago
- Target version set to Epsilon
- Start date changed from 04/08/2011 to 04/13/2011
#3 Updated by Davide Principi over 10 years ago
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100