[Koha-bugs] [Bug 29308] New: Regression: NewItemsDefaultLocation should not be applied to items.permanent_location
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 22 16:41:18 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29308
Bug ID: 29308
Summary: Regression: NewItemsDefaultLocation should not be
applied to items.permanent_location
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
21.05 made changes to NewItemsDefaultLocation that break the intended use of
the feature.
In 20.05 and earlier versions, the value in NewItemsDefaultLocation was only
put in items.location. Items.permanent_location would be set to the items'
intended eventual location, allowing it to later be updated using
UpdateItemLocationOnCheckin.
In 21.05, the value from NewItemsDefaultLocation is written into BOTH
items.location and items.permanent_location, thereby breaking the usage with
UpdateItemLocationOnCheckin.
To recreate:
- have shelving locations PROC and GEN
- set NewItemsDefaultLocation to PROC
- find or create a bib
- add an item, do not select a shelving location
- add a second item, select shelving location GEN
- use SQL to confirm location and permanent_location (select itemnumber,
barcode, location, permanent_location from items where biblionumber=X)
- first item has location=PROC, permanent_location=PROC
- second item item has location=GEN, permanent_location=GEN
Were you to follow the same test plan on 20.05:
- first item has location=PROC, permanent_location=NULL
- second item item has location=PROC, permanent_location=GEN
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list