Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
Core: F - Sprint 103
-
Prokopovych
-
Q3 2020 Hot Fix #1
-
BNCF, Chalmers, Lehigh
Description
Overview:
Steps to Reproduce:
- Log into a FOLIO Goldenrod (hotfix-5 environment - users 4.0.7)
- Navigate to a user having more than 100 loans total
- Go to open loans and select one of the loans (see attached gif)
- Observe - Error Page - with message - "The following occurred resulting in the current page becoming unstable.
ERROR:Cannot read property 'status' of undefined"
This error happens if the loan is not part of the first 100 returned -
circulation/loans?query=(userId=ff9c90f2-2d88-4f94-95ad-246c300e0305)%20sortby%20id&limit=100
Expected Results:
Loan details are displayed
Actual Results:
Error page is displayed
Additional Information:
- Exception is thrown this line - https://github.com/folio-org/ui-users/blob/2efcd8a06ad2b8c7d7e052515624f73e054dc451/src/views/LoanDetails/LoanDetails.js#L121
- Due to limit of 100 results
https://github.com/folio-org/ui-users/blob/b4eb29b693b9a7336dd775aaad77a0a03737d448/src/routes/LoanDetailContainer.js#L48 - Per cgodfrey, BNCF currently has 14 users with over 100 loans
URL:
Interested parties:
annadis
TestRail: Results
Attachments
Issue Links
- relates to
-
UIU-1984 loan history - stripes error when more than 100 loans
-
- Closed
-