Skip to content
Snippets Groups Projects
Forked from ICS Control System Infrastructure / csentry
Source project has a limited visibility.
  • Benjamin Bertrand's avatar
    ce54e287
    Catch exception raised by Unique Validator · ce54e287
    Benjamin Bertrand authored
    The MAC field has both a Regexp and Unique validators.
    In wtforms, the validation doesn't stop on the first error (all
    validators are run).
    In case of invalid mac address, the Unique validator makes a request to
    the database that raises a DataError. This exception has to be catched.
    
    JIRA INFRA-777 #action In Progress
    ce54e287
    History
    Catch exception raised by Unique Validator
    Benjamin Bertrand authored
    The MAC field has both a Regexp and Unique validators.
    In wtforms, the validation doesn't stop on the first error (all
    validators are run).
    In case of invalid mac address, the Unique validator makes a request to
    the database that raises a DataError. This exception has to be catched.
    
    JIRA INFRA-777 #action In Progress
Code owners
Assign users and groups as approvers for specific file changes. Learn more.