Uploaded image for project: 'Legacy UI Module'
  1. Legacy UI Module
  2. LUI-135

Deleting complex obs should not lead to loss of data

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Cannot Reproduce
    • None
    • 1.3.4
    • Low

    Description

      When a complex obs is deleted or voided, the file is deleted from the file system. On unvoiding, you get a server side FileNotFoundException because the file no longer exists.

      For data that is stored in the database, we mark it with the voided flag on deleting. For data stored on the file system, deleting could move the file to some sort of voided complex obs folder, from which it can be restored on un voiding the obs.

      This problem was discovered while working on ---LUI-134---

      You could take a look at: ObsServiceImpl.voidExistingObs()

      The legacyui module's code can be found at: https://github.com/openmrs/openmrs-module-legacyui

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                odorajonathan JONATHAN AJAL ODORA
                dkayiwa Daniel Kayiwa
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 3 weeks
                    3w
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 3 weeks
                    3w