Duplicate appointments while editing an appointment in operation theatre module

Description

Steps to reproduce:

1 Scenario

  1. Go to operation theatre module

  2. click on `OT Scheduling`

  3. click on new surgical block

  4. create two appointments and save

  5. click on first appointment

  6. click on edit

  7. click `escape` button

  8. click on second appointment

  9. click on edit

  10. click on add


2 scenario

  1. Go to operation theatre module

  2. click on `OT Scheduling`

  3. click on new surgical block

  4. create two appointments and save

  5. click on first appointment

  6. click on edit

  7. click on cancel button

  8. click on second appointment

  9. click on edit

  10. click on add

3 scenario

  1. Go to operation theatre module

  2. click on `OT Scheduling`

  3. click on new surgical block

  4. create two appointments and save

  5. click on new surgical block

  6. create two other new appointments and save

  7. go to `OT Scheduling`

  8. cancel/postpone first appointment of any surgical block from either Calendar view/List view

  9. move second appointment of other surgical block to that surgical block

  10. click on first appointment and click on edit and add/edit existing fields

  11. click on add button

Attachments

3

Gliffy Diagrams

Activity

krishnanspace June 25, 2018 at 10:40 AM
Edited

Tried all the above 3 scenarios. No duplicate appointments were created.

krishnanspace June 25, 2018 at 9:53 AM
Edited

On qa-08 I was able to create A surgical block and add 2 surgeries.I did not encounter any problems.

Pramida Tumma June 21, 2018 at 6:39 AM

While testing: Unable to create new surgeries.
1. Create a new surgical block
2. Create two new surgeries and save
Getting the below error:

Himabindu Akkinepalli May 28, 2018 at 5:49 AM
Edited

I am able to reproduce only the 3rd scenario.
Merged the PR. Below are the commit details ->
https://github.com/Bahmni/openmrs-module-bahmniapps/commit/f11673a33fa7f166e1987794dd1a33421392eae5

Maharjun M May 23, 2018 at 11:26 AM

Added more tests based on the feedback given. Moving to code review state.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

UAT Assignee

Reviewer

Components

Sprint

Fix versions

Priority

Created May 8, 2018 at 11:16 AM
Updated June 25, 2018 at 10:40 AM
Resolved June 25, 2018 at 10:40 AM