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

getProvider() method should return first *non-voided* Provider

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.9.0, Platform 1.10.0
    • Fix Version/s: OpenMRS 1.9.1, Platform 1.10.0
    • Component/s: Data Model
    • Labels:
      None
    • Complexity:
      Low

      Description

      The getProvider() method (which provides backwards compatibility to the old provider model) currently returns the first provider in the list, regardless of whether or not the provider is voided. This method should return the first non-voided provider.

      One net result of this is that in Html Form Entry, if you change a provider on a form, although the provider is correctly changed in the underlying data model, the form itself while continue to display the original provider.

      This is fairly serious, so we should backport to 1.9 ASAP...

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    mogoodrich Mark Goodrich
                    Reporter:
                    mogoodrich Mark Goodrich
                  • Votes:
                    1 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: