Bug #72

Validation of database values throws validation errors

Added by Davide Principi over 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:04/13/2011
Priority:NormalDue 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

Revision ee4c3621
Added by Davide Principi over 10 years ago

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

Also available in: Atom PDF