https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30909
--- Comment #7 from David Nind <[email protected]> --- I couldn't get steps 1 and 2 of the bug test plan to work correctly - will leave for someone who knows what they should be doing here. I'm sure it is something relatively simple that I'm not getting! For step 2c below, after I press OK the page reloads but there is nothing shown for permanent_location. When I test the frameworks, I get this error: items.permanent_location mapped: The following mappings exist for items.permanent_location, and they shouldn't. Framework code Framework description Tag Subfield BKS Books, Booklets, Workbooks 952 L This is what I did/intended to do: 1. Create and expose a new 952 subfield in the item editor: a. Administration > Catalog > MARC bibliographic framework b. Select the BKS MARC framework c. Add a new subfield for 952 - L, use the same settings as 952$c, except name as Permanent shelving location 2. Map permanent_location to a marc field: a. Administration > Catalog > Koha to MARC mapping b. Locate items.permanent_location then select Add c. Map to a new 952 field, for example 952,L d. Rebuild the marc mappings: remove the duplicate 010 for record 72, then misc/batchRebuildBiblioTables.pl -c will run without errors 3. Edit an item, changing location to X and permanent location to Y, save (for example: location = New materials shelf, Permanent shelving location = General stacks). 4. Confirm record shows location=X, permanent_location=Y (for example: location = New materials shelf, Permanent shelving location = General stacks). 5. Edit item again, change location to Z, do not change permanent location, save (for example: Children's area). 6. 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). ==> Not: new 952 subfield is not shown, so you can't use the batch item modification 8. Apply patch, flush_memcached, restart_all. 9. Repeat steps 3-6. 10. Confirm location=Z, permanent location=Y. 11. Run the tests: prove t/db_dependent/Items.t Notes: - When you add a mapping: the instructions say: "Adding a mapping for: items.permanent_location. Please enter field tag and subfield code, separated by a comma. (For control fields: add '@' as subfield code.) The change will be applied immediately." - However, at the top of the page it says: "If you make any change to the mappings, you must ask your administrator to run misc/batchRebuildBiblioTables.pl." - Not sure which is right here and hwteher this shouldbe logged as a new bug. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ 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/
