Details
-
Bug
-
Status: Ready for Work
-
Must
-
Resolution: Unresolved
-
Platform 2.0.0
-
None
-
None
-
Medium
-
Description
Seen this error in logs while updating an existing obs. An APIException is thrown while updating an obs by removing its child and saving it.
DEBUG - AuditableInterceptor.setCreatorAndDateCreatedIfNull(108) |2016-10-08 17:44:19,190| Setting creator and dateCreated on Obs #101 DEBUG - AuditableInterceptor.onFlushDirty(82) |2016-10-08 17:44:19,198| Setting changed by fields on class org.openmrs.Obs DEBUG - ImmutableEntityInterceptor.onFlushDirty(109) |2016-10-08 17:44:40,427| The following fields cannot be changed for class org.openmrs.Obs:[obsGroup]
I can add a detailed testcase if required. Logging it for now.