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

Delete other order stuff before deleting current order

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.9.0
    • Fix Version/s: Platform 1.10.0
    • Component/s: None
    • Labels:

      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

            Issue Links

              Activity

                People

                Assignee:
                patandre Andrea Patterson
                Reporter:
                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