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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to