Overview: A user should be able to remove the temporary location from an item that is on reserve, and have that temporary location removed from both the reserve record and the instance/item record. Currently they can change the temporary location to another temporary location, and remove it from the UI but not the json.
As a staff user I want to run report on my use of Course reserves item. Reports are run on the raw json data in Courses.
Steps to Reproduce:
- Log into FOLIO Snapshot environment as User Diku_Admin
- Go to the Courses app, and find a course with a reserve item that has a temporary location assigned (or create one if there isn't any)
- Select the edit reserve action
- In the "Temporary location" box - select (None required)
- Click save and close
- Note - the value in the temporary location field can be changed to a different location and be deleted
- When viewing the json the item record data is not updated to be deleted.
Removing the temporary location from an item in the item record would remove the temporary location from both the Reserve record and the inventory/item record, and this is verified in both the UI and in the json
Nothing changes in the json
Additional Information: This bug is also present in FOLIO Bugfest Iris https://bugfest-iris.folio.ebsco.com/cr/courses?sort=name
One additional thing about this bug that is very confusing has to do with the UI in Courses View. So if you have an item where you want to remove the temporary location, you could remove the location in the Inventory item record, and then go back into Courses and look at the reserve record on the course and see that it has the temporary location, and think you've actually removed it. You haven't, though, because the underlying reserve record still has a temporaryLocationId set.
Example on FOLIO Iris (I can recreate this scenario in whatever environment it's needed in):
Screenshot of an item being viewed on the Course with temporaryLocationId blank:
Underlying reserve record where you can see that temporaryLocationId has a value:
Interested parties: Erin Nettifee