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

Encounter.removeProvider and setProvider should void the EncounterProvider, not remove it

    XMLWordPrintable

    Details

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

      Description

      EncounterProvider is an OpenmrsData object, meaning it shouldn't actually be deleted from the database when you remove one from an encounter, but rather it should just be voided.

      The removeProvider and setProvider methods remove them instead of voiding them

        Attachments

        1. patch.txt
          2 kB
        2. TRUNK-3059UnitTestPatch.txt
          7 kB
        3. TRUNK-3059v1.1.txt
          5 kB
        4. TRUNK-3059v1.2.txt
          4 kB
        5. TRUNK-3059v1.3.txt
          4 kB

          Activity

            People

            Assignee:
            maurya Sri Maurya Kummamuru
            Reporter:
            darius Darius Jazayeri [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: