Loan Return Preparation Non-functional
This issue is in Specify 6.8.01. It was not present in 6.7.04.
Steps to recreate:
- Go to the Interactions tab and choose Loan
- Create a Loan preparation.
- Open its dialog and click Return Preparation.
- Try to add a Loan Return Preparation.

This bug was also reported in Specify 6.8.01 by Garth Holman, University of Michigan.
@mc0822
Maybe I am mistaken, but isn't the workaround to this is to simply click on the Return Loan button on the form rather than through the Loan Preparation dialog? From that dialog, you can then choose which loan preparations to return.
The bug is in that button in the LrP dialog, it should be removed and users should use the one on the Loan form instead.
Reported By: The University of Michigan
You just have to open the loan dialog and watch the logs to see this repeat logging error. At least that is how it manifests on Garths MacOS Ventura 13.1 system. We have not tried to see if this error is logged on older MacOS or on Windows machines yet. It was just something we observed when trying to reproduce what you have said is the known bug with the loan form and thought we would report it rather than ignore it.
There's an additional error message appearing very frequently, and we're not sure if this is related to or separate from the the Loan Return Preparation bug:
11:37:04 ERROR ui.forms.DataGetterForObj:201 - PersistentSet.taxon
11:37:04 ERROR ui.forms.DataGetterForObj:202 - org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: edu.ku.brc.specify.datamodel.CollectionObject.determinations, no session or session was closed
11:37:09 ERROR org.hibernate.LazyInitializationException:19 - failed to lazily initialize a collection of role: edu.ku.brc.specify.datamodel.CollectionObject.determinations, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: edu.ku.brc.specify.datamodel.CollectionObject.determinations, no session or session was closed
Hello,
We've recently updated to Specify 6.8.03 and noticed this issue as well (on Windows).
Have there been any updates on a fix or workaround? It seems to be linked to issue #1001
(I have been unable to use the Return Loan button as a workaround so far, but I am not the Loans Officer so I might have it configured wrong).