You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have a number of choices arguments for models in Sal. This prevents users from inputting invalid values from forms... Unfortunately, the code itself can happily set values that are not one of the choices. This creates a situation where the DB may have values it was never meant to, and client code may blow up.
To Reproduce
Check in a device and use the operatingsystem "AcornOS" or perhaps "Debian".
Watch the operatingsystem plugin thrash.
Expected behavior
In most cases we probably want to reject invalid values.
The text was updated successfully, but these errors were encountered:
Describe the bug
We have a number of choices arguments for models in Sal. This prevents users from inputting invalid values from forms... Unfortunately, the code itself can happily set values that are not one of the choices. This creates a situation where the DB may have values it was never meant to, and client code may blow up.
To Reproduce
Expected behavior
In most cases we probably want to reject invalid values.
The text was updated successfully, but these errors were encountered: