Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4497

Hide or disable (option of selecting) a child role instead of throwing an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: Platform 1.11.0
    • Fix Version/s: Platform 2.0.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Reproduce:

      • Create one role and another to be a child of the first created one.
      • Visit the edit page of the parent role and then select/check the child role under Inherited Roles and save role.

      Observation:

      Obviously this should not be possible but we can rather just make it not happen with in the code, and also from the UI hide a child role from the list of roles inherited roles or display it disabled instead of displaying this bug page

        Gliffy Diagrams

          Attachments

          1. TRUNK-4497(1).JPG
            TRUNK-4497(1).JPG
            79 kB
          2. TRUNK-4497(2).JPG
            TRUNK-4497(2).JPG
            101 kB
          3. TRUNK-4497(3).JPG
            TRUNK-4497(3).JPG
            94 kB

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    midnighteuler Michael Souza
                    Reporter:
                    k.joseph Kaweesi Joseph
                    Designated Committer:
                    Michael Souza
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    10 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0 minutes
                      0m
                      Logged:
                      Time Spent - 1 day, 30 minutes
                      1d 30m