-
Couldn't load subscription status.
- Fork 2
Open
Description
Description:
- The user factory currently commits a value to every single field.
- This means that many values get a value equal to a blank string, which is different from 'Null'.
- Email and RFID must either be Null or a Unique value.
- The factory forces Email and RFID to be not Null.
- Attempting to enter no value means that it has a value of
'' - This is inevitably not a unique value
- The sql commit fails
Components Affected
users.py/user_input()users.py/user_input()/user_data
Proposed Solution
- check whether a non-blank value has been entered for RFID and Email
- If a non-blank value is entered, re-assign value to
None, the python indicator ofNull
Metadata
Metadata
Assignees
Labels
No labels