Unable to save sample data in OpenElis

Description

In OpenElis, when we try to add sample for a patient, we are getting "The appropriate sample for each test must selected." whereas the expected message should be "Save Successful"

Steps to reproduce:
1. Login to OpenElis with 0.93 version
2. Navigate to Sample -> Add Sample.
3. Search for patient with Id : GAN203006
4. Choose any sample type (ex. Pericardial Fluid) and then click Add Sample.
5. Select any of the available tests
6. Fill in Order details.
7. Click on Save.

Some findings:
Seems like some XML parsing exception is popping up. Attaching the screenshots for reference.

Attachments

1

Activity

Angshuman Sarkar September 9, 2021 at 7:02 AM
Edited

Once merged, will cherry-pick onto master - DONE

Gurpreet Luthra September 8, 2021 at 1:54 PM

Angshu, will you also put this in master? Or only in v93 branch?

Angshuman Sarkar September 7, 2021 at 3:26 PM
Edited

PR:

NOTE: Should be cherry-picked onto master

Angshuman Sarkar September 7, 2021 at 3:25 PM

Analysis: this is due to the recently added fix for encoding of request parameters.

However, in this case, a specific parameter “sampleXML” is actually set as Struts dynaForrm, which is subsequently parsed in “SamplePatientEntrySaveAction.initSampleData()” ..

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created September 1, 2021 at 2:00 PM
Updated September 23, 2021 at 8:10 AM
Resolved September 23, 2021 at 8:10 AM