[Koha-bugs] [Bug 30909] Regression, Permanent shelving location is always updated when editing location if both are mapped to MARC fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 19 00:13:59 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30909

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #4 from David Nind <david at davidnind.com> ---
I would like to test this, but I'm not familiar enough with locations and MARC
to do step 1 and 2 in the bug test plan.

Could you advise on how to do steps 1(c) and 2(c) in my revised test plan
(based on bug 27837)? Apologies for such a basic question!

Also, does this bug address editing using batch item modification, or is an
updated patch required?

Thanks!

Revised test plan: 
1. Map permanent_location to a marc field:
   a. go to Administration > Catalog > Koha to MARC mapping
   b. locate items.permanent_location then select Add
   c. QUESTION - which field code and subfield code do I map it to?
2. Expose that field in the item editor:
   a. go to Administration > Catalog > MARC bibliographic framework
   b. select the MARC framework for BKS
   c. QUESTION - which MARC field do I use for permanent_location to get this
to show in the item editor?
3. Edit an item, changing location to X and permanent location to Y, save.
4. Confirm record shows location=X, permanent_location=Y.
5. Edit item again, change location to Z, do not change permanent location,
save.
6. Confirm location and permanent_location both equal Z.
7. Run through steps 3-6 using batch item modification for a record with
multiple items (record details page > Select all the items under the holdings
tab > Modify selected items).
8. Apply patch, flush_memcached, restart_all.
9. Repeat steps 3-7.
10. Confirm location=Z, permanent location=Y.
11. Run the tests: prove t/db_dependent/Items.t

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list