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

Caroline Cyr La Rose <caroline.cyr-la-r...@inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caroline.cyr-la-rose@inlibr
                   |                            |o.com

--- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-r...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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