[Bug 39412] New: Ordering from staged records with item tags does not remove item tags
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39412 Bug ID: 39412 Summary: Ordering from staged records with item tags does not remove item tags Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org To recreate: 1 - Export some records from Koha 2 - Set MarcItemFieldsToOrder: homebranch: 952$a holdingbranch: 952$b loc: 952$c price: 952$g|952$v itype: 952$y 3 - Stage your exported files for import - don't match and don't check for items 4 - Add to basket from the staged file 5 - Disable matching when adding orders 6 - Save the orders 7 - View the MARC of the new records from the interface 8 - Note marc has 952 fields 9 - You can view in the database in the biblio_metadata table as well: SELECT biblionumber, ExtractValue(metadata, 'count(//datafield[@tag="952"]/subfield[@code="9"])' ) AS counter FROM biblio_metadata WHERE ExtractValue(metadata, 'count(//datafield[@tag="952"]/subfield[@code="a"])' ) > 0 AND ExtractValue(metadata, '//datafield[@tag="952"]/subfield[@code="9"]' )='' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39412 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt.blenkinsop@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39412 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=39413 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39412 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com --- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I'm unable to recreate this (was trying to test bug 39413). I feel like I'm following the test plan but maybe I'm missing a step?? Here's what I do 1. Export records from Koha 1.1. Go to Cataloging > Export catalog data 1.2. Fill out the form - From biblionumber: 1 - To biblionumber: 10 - Item type: All - With items owned by the following libraries: Select all 1.3. Click 'Export bibliographic records' 2. Set MarcItemFieldsToOrder 2.1. Go to Administration > System preferences 2.2. Search for MarcItemFieldsToOrder 2.3. Click 'Edit' 2.4. Paste the values homebranch: 952$a holdingbranch: 952$b loc: 952$c price: 952$g|952$v itype: 952$y 2.5. Click 'Save all Acquisition preferences' 3. Stage records for import 3.1. Go to Cataloging > Stage records for import 3.2. Click 'Browse' and choose the file downloaded in step 1 3.3. Click 'Upload file' 3.4. Fill out the form - Check for embedded item record data: No 3.5. Click 'Stage for import' 4. Add to basket from a staged file 4.1. Go to Acquisitions 4.2. Click 'Search' next to the vendor search 4.3. Click 'Add to basket' next to 'My basket' 4.4. Click 'From a staged file' 4.5. Click 'Add orders' 4.6. Click 'Default accounting details' 4.7. Choose a fund 4.8. Click 'Item information' 4.9. Choose an item type 4.10. Click 'Select to import' 4.11. Under 'Matching' choose 'Do not look for matching records' 4.12. Click 'Select all' 4.13. Click 'Save' 5. View the MARC of the new record 5.1. Click on one of the titles in the basket 5.2. Click 'MARC' 5.3. Click '9' ---> No 952 5.4. In the database, run the report SELECT biblionumber, ExtractValue(metadata, 'count(//datafield[@tag="952"]/subfield[@code="9"])' ) AS counter FROM biblio_metadata WHERE ExtractValue(metadata, 'count(//datafield[@tag="952"]/subfield[@code="a"])' ) > 0 AND ExtractValue(metadata, '//datafield[@tag="952"]/subfield[@code="9"]' )=''; --> Empty set At first I also tried with adding to basket from new file instead of stashed file, with the same result... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39412 karie.straube@yavapaiaz.gov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karie.straube@yavapaiaz.gov -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39412 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |matt.blenkinsop@openfifth.c |ity.org |o.uk -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org