Build: #75 was successful
Job: Release to maven did not start
Code commits
openmrs-core
-
Michael Seaton <mseaton@pih.org> 6dcae708d566dfba4bd0c969f40cb20477e9df57
TRUNK-5977 - getPatientOrPromotePerson leading to stack traces under … (#3631)
TRUNK-5977 - getPatientOrPromotePerson leading to stack traces under some conditions. This changes the current approach by first loading the person with the given id, and then checking if the returned person is a patient or not.
Unfortunately, none of the unit tests catch the error that this is fixing, but running the refapp with this fix + a related fix to idgen fixes the error case as described on the ticket.- api/src/main/java/org/openmrs/api/impl/PatientServiceImpl.java (version 6dcae708d566dfba4bd0c969f40cb20477e9df57)