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

Override provider.getName method to look at provider.person.name

    XMLWordPrintable

    Details

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

      Description

      If the provider.person is non-null, calling Provider.getName() should use provider.getPerson().getName().getFullName().

      If a provider is saved with a new person object on it, the provider.name field should be blanked out just so that there isn't double data sitting in the provider table.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dkayiwa Daniel Kayiwa
              Reporter:
              bwolfe Ben Wolfe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: