Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
ERM Sprint 101, ERM Sprint 102
-
None
-
5 Colleges, Chalmers, Cornell
Description
Overview
When opening the accordion Agreement lines, sometimes the list of Agreement lines displayed is for the previous agreement.
Screencast of issue
https://drive.google.com/open?id=1rDJ2x16F71DjjssAB-c8t2zk8jNWp2qo
This waiting time in this example was relatively short, it can be much longer.
Steps to recreate
- Create two agreements
- Add a single agreement line to one agreement
- Add c.20 agreement lines from eHoldings to the other agreement
- View first agreement with one agreement line
- View second agreement with c.20 agreement lines
Actual behaviour
- See that the agreement line from first agreement can display temporarily
- Also note that indicator of the number of agreement lines can take time to update and displays "1" until it has updated
Expected behaviour
- No information from previous agreement should ever be displayed once you have switched to the new agreement
- If there is a delay in loading information, a spinner should display to tell the user this is happening
- The indicator of the number of agreement lines should not display outdated information, and should not display until the number of lines for the agreement being loaded is known
Additional information
It was expected that ERM-680 fixed this, but looking at that code it looks like that fixes for retrieving Resources and not Entitlements