Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
None
-
None
-
Prokopovych - Sprint 118, Prokopovych - Sprint 119
-
0.5
-
Prokopovych
Description
Overview: processClaimReturned.processAccounts() must validate the presence of loanItem before accessing its attributes.
Steps to Reproduce:
- Log into folio-snapshot as a user with permission to check in items
- Enter a barcode for an item with no associated fees/fines
- Click the enter button
- open the JS console
Expected Results: clean console
Actual Results:
Uncaught (in promise) TypeError: Cannot read property 'id' of undefined
at _callee3$ (Scan.js:423)
at tryCatch (react-inspector.js:300)
at Generator.invoke [as _invoke] (react-inspector.js:441)
at Generator.next (react-inspector.js:333)
at asyncGeneratorStep (main.816079284a63a0a70d01.hot-update.js:55)
at _next (main.816079284a63a0a70d01.hot-update.js:57)