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

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

    XMLWordPrintable

    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.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surangak Suranga Kasthurirathne
              Reporter:
              darius Darius Jazayeri [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: