OpenMRS
[Web Services Module] Fix VisitAttributeType maxOccurs NullPointerException
When a visit attribute type does not have the maxOccurs value, we get a NullPointerException while making a REST API call. As per the talk thread discussion link below, this was discovered and reported by some one who was trying to create a visit attribute via the REST API and this is the link to the stack trace: https://pastebin.com/N76rEazA
This line needs to first test if maxOccurs is not null: Go to line
Task tags
Students who completed this task
Aditya13