Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1847

Fails silently when creating/editing relationships with non-Person names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for Work
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: Reference Application 2.10.0, Reference Application 2.11.0
    • Fix Version/s: None
    • Component/s: Registration App
    • Complexity:
      Undetermined
    • Sprint:
      Ref App 2.11 Release Sprint 3, Ref App 2.12 Priorities

      Description

      1. Steps to produce
      1. Login as admin
      2. Click to register a patient
      3. Select a relationship type
      4. Fill relationship 'Person name' with a name that does not match a person (eg. "Abcdefg")
      5. 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 Dimitri R & Mark Goodrich'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. 

        Gliffy Diagrams

          Attachments

          1. confirm.png
            22 kB
            Sharif Magembe

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                luis.oliveira luis Oliveira
                Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated: