Details
-
Bug
-
Status: In Progress
-
Should
-
Resolution: Unresolved
-
Reference Application 2.10.0, Reference Application 2.11.0
-
None
-
Undetermined
-
Ref App 2.11 Release Sprint 3, Ref App 2.12 Priorities
Description
1. Steps to produce
- Login as admin
- Click to register a patient
- Select a relationship type
- Fill relationship 'Person name' with a name that does not match a person (eg. "Abcdefg")
- Save the patient
And observe that the patient was registered with no relationships, thereby failing silently.
In summary: It is possible to 1) submit as the relationship name a string that isn’t a pointer to any person in OpenMRS and it will fail silently (saving nothing) or worse 2) save a relationship with an unintended person. (duplicated by mksd & mogoodrich's teams in RefApp QA environment).
Because this could cause an unintended relationship link with an unrelated person, this is a safety concern, so it is a blocker.