Uploaded image for project: 'OpenLMIS General'
  1. OLMIS-5945

The update of the Show flag in reasons isn't saved

    Details

    • Epic Link:
    • Sprint:
      Parrot Sprint 120, Team Parrot Sprint 121
    • Story Points:
      3

      Description

      During regression tests, I noticed that the "Show" flag in reasons is no longer updated, and the issue is not only on the UI - the updated reason isn't hidden/shown in requisitions etc. after the update. The issue occurs on both browsers and both for demo-data reasons and for newly-created ones.

      Reproduction steps:

      1. Log into the application as administrator.
      2. Navigate to Administration > Reasons.
      3. Click the "Edit" button next to the "Receipts" reason.
      4. Delete the "Family Planning" and "Health Center" assignment with the "Show" flag set as false.
      5. Add the assignment for Family Planning and Health Center with the "Show" flag set as true and save the changes.
      6. Initiate a regular requisition for Family Planning and Comfort Health Clinic.
      7. Go to the "Total losses and adjustments" modal.
      8. The "Receipts" reason is not visible in the "Reason" drop-down, even though it should.

      Expected results:

      • The "Show" flag should be updated both on the UI and on the back-end.

        Checklists

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  ian.manyama Ian Manyama
                  Reporter:
                  jbebak Joanna Bebak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 day
                    1d
                    Remaining:
                    Time Spent - 2 hours Remaining Estimate - 6 hours
                    6h
                    Logged:
                    Time Spent - 2 hours Remaining Estimate - 6 hours
                    2h