Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Requisition
    • Labels:
    • Sprint:
      Parrot Sprint 105
    • Story Points:
      1

      Description

      Steps to reproduce

      1. log in as srmanager4, create and submit a requisition
      2. log in as smanager4 and authorize the requisition
      3. log in as dsrmanager and approve the requisition
      4. log in as psupervisor and REJECT the requisition
      5. again submit and authorize the requisition

      Expected

      • dsrmanager should see the requisition and be able to approve it
      • psupervisor should not be able to see the requisition and approve it

      Actual

      • dsrmanager can't approve the requisition - it is not visible on the approve screen
      • psupervisor can approve the requisition but he should not

      Note the same behaviour is for an emergency requisition

      Probably the source of the bug: since the SN is not reset, we are immediately brought to the second approval after authorization.

      Needed change:
      Set the supervisory node to null when the requisition is rejected.

        Checklists

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  kpalkowska Klaudia Pałkowska
                  Reporter:
                  llewczynski Łukasz Lewczyński
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 6 hours
                    6h
                    Remaining:
                    Time Spent - 4 hours Remaining Estimate - 2 hours
                    2h
                    Logged:
                    Time Spent - 4 hours Remaining Estimate - 2 hours
                    4h