JonathanGarro / SIMS-Portal

IFRC Surge Information Management Support Portal
4 stars 4 forks source link

Error in Admin Backend delete #44

Closed fridanaid closed 1 year ago

fridanaid commented 1 year ago

When trying to delete some of the previously added profile tiers (either if is just one or multiple) gets an error when trying to save. image

JonathanGarro commented 1 year ago

Looks like this is an issue when a user has two or more tiers associated with a given profile. I have the system currently adding any additional tiers for the same profile and just letting the views take the max, but am realizing I need to actually maintain a one-to-one on each. This will mean adding a DELETE whenever someone is assigned a new tier for the same profile.

JonathanGarro commented 1 year ago

This has been resolved as part of the 1.4.1 release. Thanks @fridanaid for logging this!