LCFS - Admin User Saving gives null error in Production #1591
Labels
Added Banana 4 Scale
Label for tickets added mid-sprint
bug
Something isn't working
Critical
Ticket is critical and top priority
Tested w/ issues
Testing did not pass
Description
Address the “User Admin Saving” bug that occurs when attempting to save role changes on a user in Production. The error message indicates the database receives a
None
value foruser_profile_id
, triggering a null-value constraint failure.https://lcfs-prod.apps.silver.devops.gov.bc.ca/login
Purpose
Ensure successful role changes for users in the admin interface without encountering null-value errors. Guarantee that role updates in Production align with database constraints and do not halt the save operation.
Acceptance Criteria
user_profile_id
toNone
during a role change.Additional context
user_profile_id
is unexpectedly null.The text was updated successfully, but these errors were encountered: