Won't Do
Details
Assignee
UnassignedUnassignedReporter
Dmitriy LitvinenkoDmitriy LitvinenkoLabels
Priority
P2Development Team
VegaParent
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Unassigned
UnassignedReporter
Dmitriy Litvinenko
Dmitriy LitvinenkoLabels
Priority
Development Team
Vega
Parent
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 21, 2022 at 11:22 AM
Updated November 16, 2023 at 11:32 PM
Resolved November 16, 2023 at 11:32 PM
This issue is about
a UI crash, status: fixed
hiding elements, status: open
UI crash
The UI crash bug is in Lotus. It has already been fixed in Morning Glory (bugfest-mg).
Overview:
Prevent UI crashing for open loans with deleted items
How to reproduce:
Use https://folio-lotus.dev.folio.org
Checkout an item for a user
Open the user's open loans list page
Set the item status to "Claimed returned"
Go to inventory and delete the item
Open the user's open loans list page
Expected result:
Open loan list displays the loan details (loan date etc.) but without item details (contributors etc.)
Actual result:
UI crashes with "Something went wrong" message, see error.JPG
Related work:
For closed loans list this has already been fixed:
UIU-1411 "Prevent UI crashing for closed loans with deleted items"
https://github.com/folio-org/ui-users/commit/b74fc4e804314258176c90991db9bc9aefd381af
Solution:
The UI crash is fixed in bugfest-mg and in https://folio-snapshot.dev.folio.org/
Affects: Cornell, Middle Tennessee State University, MO State, GBV
Hide elements
Overview:
Don't show useless UI elements in open loans list if the item record of a loan has been deleted.
Notes:
We don't have item object in response for loan with removed item. ( item.JPG )
Possible solution:
For Open Loan List page that refers to an item that has been deleted
we should "hide" checkbox ( list with removed item.JPG )
for absent data we should use dash ( list with removed item.JPG ) not needed, see closed loans UIU-1411
all links from Action menu except Loan policy, New fee/fine and Fee/fine details should be hide ( Loan List.JPG )
Related work:
For closed loans list this has already been fixed:
UIU-1411 "Prevent UI crashing for closed loans with deleted items"
https://github.com/folio-org/ui-users/commit/b74fc4e804314258176c90991db9bc9aefd381af
Affects: Cornell, Middle Tennessee State University, MO State, GBV