Uploaded image for project: 'PhenoTips'
  1. PT-2364

Setting owner of a patient produces a wrong owner id

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 1.3-milestone-1
    • Components: None
    • Labels:
      None
    • Sprint:

      Description

      The problem is here
      https://github.com/phenotips/phenotips/blob/master/components/patient-access-rules/api/src/main/java/org/phenotips/data/permissions/internal/DefaultPatientAccessHelper.java#L134

      If an EntityReference (not a DocumentReference) is passed, the string will contain not only the id but also the EntityType

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                antonkatz SergiuD (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: