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

Role.getName() does not work as you'd expect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.6.1
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      Role does not actually have a 'name' property, rather it has a 'role' property. But because it implements OpenmrsMetatada, it has a getName() method, which currently never returns anything. Role.getName() should delegate to Role.getRole().

      (While doing this ticket, check whether Privilege has the same bug.)

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    surangak Suranga Kasthurirathne
                    Reporter:
                    darius Darius Jazayeri
                    Watchers:
                    Ben Wolfe, Suranga Kasthurirathne
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: