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

Delete other order stuff before deleting current order

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Should
    • Resolution: Fixed
    • OpenMRS 1.9.0
    • Platform 1.10.0
    • None

    Description

      TODO: delete other order stuff before deleting this order (like DrugOrder?)
      File: /api/src/main/java/org/openmrs/api/impl/OrderServiceImpl.java
      Line: 116

      Items to be deleted:
      1) Obs which has an order field
      2) DrugOrder which has an order_id field
      3) And finally TestOrder which also has an order_id field

      Remember to write some unit tests for this in the org.openmrs.api.OrderServiceTest class

      Gliffy Diagrams

        Attachments

          1. patch.txt
            0.7 kB
            Anton Alekseiev

          Issue Links

            Activity

              People

                patandre Andrea Patterson
                nullakilla Anton Alekseiev
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 2 hours Original Estimate - 2 hours
                    2h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 week
                    1w