openmrs-module-initializer icon indicating copy to clipboard operation
openmrs-module-initializer copied to clipboard

Loading should fail when a concept is specified but not found: program outcomes

Open brandones opened this issue 4 years ago • 2 comments

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.

brandones avatar Jul 20 '21 23:07 brandones

@mks-d

brandones avatar Jul 21 '21 15:07 brandones

Ping @mks-d

brandones avatar Aug 23 '21 19:08 brandones

Stale; closing.

brandones avatar Jun 12 '24 16:06 brandones