SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
When vaccinations are edited in the physician processing window, editing causes errors when trying to navigate and saving changes in the unsaved changes prompt. Moreover, the same error appears when pressing "Save and open case". However, when pressing "Save" the case is saved but the edited vaccination discarded.
Steps to Reproduce
Upload and fetch a physician report
Process the physician report and create a case
In the side by side view, open the immunizations tab
Add a vaccination and press done
Edit the same vaccination by opening it via the edit icon
Make changes and press done
Press the epi data tab > unsaved changes prompt triggers
Press save > error appears
Cancel the action
Press "Save and open case" > error appears
Press "Save"
Open the saved case and check the vaccinations > The edited vaccination is missing
Expected Behavior
Editing the vaccinations in the processing window should work without error.
Bug Description
When vaccinations are edited in the physician processing window, editing causes errors when trying to navigate and saving changes in the unsaved changes prompt. Moreover, the same error appears when pressing "Save and open case". However, when pressing "Save" the case is saved but the edited vaccination discarded.
Steps to Reproduce
Expected Behavior
Editing the vaccinations in the processing window should work without error.
Screenshots
System Details
Additional Information