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

Error Scenario in Obs Save : New child Obs not saving when entire Obs group is updated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: Platform 2.0.2
    • Fix Version/s: Platform 2.0.5, Core 2.1.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      The error scenario was saving an observation tree(depth > 2) with change in parent as well as a new observation added leaf level at depth > 1. Please refer to the below image for understanding further details.
      D, E are new observations added at different levels in existing Obs Tree. A,B,C existing obs also edited. On save of this Edited Obs tree, the result expected in ols A,B,C Obs should be voided. And there will be new A, B,C,D,E Obs. But with the issue in save, the output is getting D observation voided.
      https://talk.openmrs.org/t/error-scenario-in-new-obs-save-logic-after-platform-2-0/9698

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    swathivarkala Mukesh Mukesh
                    Reporter:
                    swathivarkala Mukesh Mukesh
                    Watchers:
                    Daniel Kayiwa, Mukesh Mukesh
                    Designated Committer:
                    Bharat Akkinepalli
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: