-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Describe the bug
The "Return Loan" functionality on the Loan form becomes unresponsive and can cause the browser to slow down or freeze entirely. This issue occurs specifically when the Loan record is opened from the "Show Loans" button within a Collection Object's "Preparations" section.
If the same Loan record is accessed directly through a Loan Query, the "Return Loan" button and subsequent actions work correctly and without delay.
To Reproduce
Steps to reproduce the behavior:
Workflow 1: (Failing)
- Navigate to a Collection Object record that has at least one preparation on loan.
- Scroll down to the Preparations section.
- Click the "Show Loans" button associated with the loaned preparation.
- In the window that appears, click to open the full Loan record.
- On the Loan record screen, click the "Return Loan" button.
Workflow 2: (Working)
- Navigate to the Query builder.
- Create and execute a query for the same Loan record from Workflow 1 (e.g., query by Loan Number).
- Open the Loan record from the query results.
- On the Loan record screen, click the "Return Loan" button.
Expected behavior
When the "Return Loan" button is clicked, the "Loan Preparation" return modal should appear immediately, allowing the user to process the return. This functionality should be consistent regardless of how the user navigated to the Loan record.
Please fill out the following information manually:
- OS: Windows 10
- Browser: Firefox
- Specify 7 Version: v7.11.1
- Database Name: uw geo collection
- Collection name: Fossil vertebrates
- User Name: Lvietti
- URL: https://uw-geo-collections.specifycloud.org/specify/simple-search/?q=16781
Reported By
University of Wyoming