openmrs-module-initializer
openmrs-module-initializer copied to clipboard
Loading should fail when a concept is specified but not found: program outcomes
Loading should fail when a concept is specified but not found. Previously, if a program outcome was provided which did not correspond to any concept, the program would be saved with outcome == null and no error would be registered.
This behavior should be made consistent as we find other places where OpenMRS allows null concepts.
This also moves the findConceptByName call after the by-mapping call, since former always logs a warning when a concept is not found. This means that lots of warnings might be logged for concepts that are specified by mapping.
@mks-d
Ping @mks-d
Stale; closing.