specify6 icon indicating copy to clipboard operation
specify6 copied to clipboard

Loan Return Preparation Non-functional

Open grantfitzsimmons opened this issue 4 years ago • 4 comments

This issue is in Specify 6.8.01. It was not present in 6.7.04.

Steps to recreate:

  1. Go to the Interactions tab and choose Loan
  2. Create a Loan preparation.
  3. Open its dialog and click Return Preparation.
  4. Try to add a Loan Return Preparation.

Sp6 Loan Return Prep Not Available

grantfitzsimmons avatar Jan 21 '22 16:01 grantfitzsimmons

This bug was also reported in Specify 6.8.01 by Garth Holman, University of Michigan.

mc0822 avatar Jan 19 '23 17:01 mc0822

@mc0822

image

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.

grantfitzsimmons avatar Jan 19 '23 17:01 grantfitzsimmons

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

grantfitzsimmons avatar Jan 20 '23 22:01 grantfitzsimmons

Hello, We've recently updated to Specify 6.8.03 and noticed this issue as well (on Windows). image 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).

totallynotleo avatar May 09 '23 04:05 totallynotleo