SORMAS-Project
SORMAS-Project copied to clipboard
'Final laboratory result' for Event Participants is not updated when a new sample is added
Bug Description
On the 'Event Participants' page of an event, in the column 'Final laboratory result' the value displayed is not updated consistently, based on the sample with the latest 'Date sample was collected'.
Steps to Reproduce
- Navigate to the 'Events' directory and open an event or create one (Covid-19);
- Add a new event participant;
- Add to the event participant from step 2 a Covid-19 sample with a 'positive' final laboratory result and a pathogen test with a 'positive' test result ('Date sample was collected' = 1st of June); -> on the 'Event Participants' tab of the event, the values from the 'Final laboratory result' and 'Date sample was collected' have been updated according to the sample from step 3;
- Add a second sample to the event participant from step 2 ('Date sample was collected' = 15th of June; 'Final laboratory result' = negative; 'Test result' = Negative);
Actual Behavior
The 'Final laboratory result' value is not updated consistently based on the latest sample (i.e. the sample with the latest 'Date sample was collected') added for the respective event participant.
Expected Behavior
Both the 'Final laboratory result' and the 'Date sample was collected' values should be updated based on the latest sample (i.e. the sample with the latest 'Date sample was collected') added for the respective event participant.
Screenshots
GIF of the steps to reproduce:

System Details
- Device: Windows 10
- SORMAS version: 1.75.0-SNAPSHOT(c5c40bf)
- Android version/Browser: Chrome
- Server URL: local machine
- User Role: Admin+NatUser