codeforkansascity / cmr-clinic-admin-api

Administration and API for Clear My Record
MIT License
2 stars 8 forks source link

Bug when changing/fixing statutes #210

Open zmon opened 3 years ago

zmon commented 3 years ago

This happened twice today, and I finally remembered to take screenshots. Not urgent – you'll see at the bottom that it is actually saving I just have to leave the specific applicant's page to see the change.

I'm working on Ronald Harris. He has some municipal charges that aren't in the system, so they show up like this after upload, which is normal/typical:

image

So I click the + and enter the information in, and after save it populates

image

Looks great. I save it, and it saves correctly:

image

When I go to fix another charge/statute within this applicant's profile, after saving that next charge the one I already fixed appears to have reverted back to if I didn't do anything to it:

image

If I go in and "fix" it again, the change doesn't appear to save. (The app DOES have the ordinance I added though.)

HOWEVER this is not a big issue, because if I leave the applicant's profile, go back to the main applicant list or somewhere else within the app and then return, the changes are there:

image

The only clients I've entered recently required some sort of input of an ordinance/infraction, so I'm not sure if this only happens when entering in new laws, or if it would also happen if the law exists in the app but the spreadsheet dropped a zero or I mis-entered it.