Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
ERM Sprint 162
-
Bienenvolk
-
Orchid (R1 2023) Bug Fix
-
TBD
Description
Purpose:
When an agreement is viewed in the Folio UI, we currently load the agreement lines through a call to /entitlements. The number of entitlements retrieved is based off the pageSize.agreements setting (in configuration). This was intended to enable tenants to control how many agreement lines were loaded and so ensure good performance even when an agreement had a large number of agreement lines
However, currently the entitlements are also included in the Agreements JSON returned by the call to /erm/sas/<agreement UUID> - and this includes all the agreement lines
So the work being done by the system has not changed - when a user views an agreement the system still ends up loading all agreement lines for that agreement, including fetches to eHoldings in cases of remote resources.
We should avoid loading the full set of agreement lines for an agreement unless we explicitly need to.
TestRail: Results
Attachments
Issue Links
- blocks
-
ERM-2880 Agreements with many agreement lines not loading
-
- Closed
-
- defines
-
ERM-2891 mod-agreements release. Fix version: 5.5.2 (Orchid BugFix)
-
- Closed
-
-
ERM-2896 ui-agreements release. Fix version: 9.0.1 (Orchid BugFix)
-
- Closed
-
- relates to
-
ERM-2892 Review consistency of extra API parameters ...
-
- Closed
-
-
ERM-2880 Agreements with many agreement lines not loading
-
- Closed
-