[Koha-bugs] [Bug 28152] Hidden error when importing an item with an existing itemnumber
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 21 23:30:49 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28152
Hayley Pelham <hayleypelham at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
CC| |hayleypelham at catalyst.net.n
| |z
--- Comment #2 from Hayley Pelham <hayleypelham at catalyst.net.nz> ---
Hi Jonathan,
I tried to test this but the patch didn't seem to fix the behaviour.
What I did:
1) Exported record with an item, confirmed contained 952 data
2) Staged for import with default parameters
3) Imported record with Always add items
4) import_items contained a new row
import_items_id | import_record_id | itemnumber | branchcode | status |
marcxml
| import_error |
+-----------------+------------------+------------+------------+--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+
| 1 | 1 | 0 | NULL | error | <?xml
version="1.0" encoding="UTF-8"?>
<collection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
xmlns="http://www.loc.gov/MARC21/slim">
<record>
<leader>00000 a </leader>
<datafield tag="952" ind1=" " ind2=" ">
<subfield code="0">0</subfield>
<subfield code="1">0</subfield>
<subfield code="4">0</subfield>
<subfield code="6">_</subfield>
<subfield code="7">0</subfield>
<subfield code="8">REF</subfield>
<subfield code="9">192</subfield>
<subfield code="a">FPL</subfield>
<subfield code="b">FPL</subfield>
<subfield code="c">GEN</subfield>
<subfield code="d">2014-09-04</subfield>
<subfield code="p">39999000003697</subfield>
<subfield code="r">2014-09-04</subfield>
<subfield code="w">2014-09-04</subfield>
<subfield code="y">BK</subfield>
</datafield>
</record>
</collection> | NULL |
5) Checked imported record with View button in Manage staged MARC import and
saw that there were no items associated with record
6) Applied patch and restarted services
7) Repeated steps 2-3
8) import_items contained a new row
| 2 | 2 | NULL | NULL | error | <?xml
version="1.0" encoding="UTF-8"?>
<collection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
xmlns="http://www.loc.gov/MARC21/slim">
<record>
<leader>00000 a </leader>
<datafield tag="952" ind1=" " ind2=" ">
<subfield code="0">0</subfield>
<subfield code="1">0</subfield>
<subfield code="4">0</subfield>
<subfield code="6">_</subfield>
<subfield code="7">0</subfield>
<subfield code="8">REF</subfield>
<subfield code="9">192</subfield>
<subfield code="a">FPL</subfield>
<subfield code="b">FPL</subfield>
<subfield code="c">GEN</subfield>
<subfield code="d">2014-09-04</subfield>
<subfield code="p">39999000003697</subfield>
<subfield code="r">2014-09-04</subfield>
<subfield code="w">2014-09-04</subfield>
<subfield code="y">BK</subfield>
</datafield>
</record>
</collection> | NULL |
9) Record still didn't have an item associated
Please let me know if I've missed some step!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list