Bug Description
It seems that there are further issues with Malaria regarding optional elements.
NullPointerException will be thrown if Malaria doctor declaration xml does not contain the following elements:
- profOccupation
- prophylaxisTreatment
- purposeOfTravel
- diseaseTransmission
Reproduction Steps
- Create a doctor declaration xml with MALA section empty
- Submit the doctor declaration
- Mapping fails due to NPE
Expected Behavior
The xml should be converted to a message in the message directory.
Affected Area(s)
Web app
SORMAS Version
1.104.0
Android version/Browser
adapter
User Role(s)
Admin
Server URL
No response
Additional Information
No response
Bug Description
It seems that there are further issues with Malaria regarding optional elements.
NullPointerException will be thrown if Malaria doctor declaration xml does not contain the following elements:
Reproduction Steps
Expected Behavior
The xml should be converted to a message in the message directory.
Affected Area(s)
Web app
SORMAS Version
1.104.0
Android version/Browser
adapter
User Role(s)
Admin
Server URL
No response
Additional Information
No response