[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
Mon May 16 20:35:54 CEST 2022


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

Joonas Kylmälä <joonas.kylmala at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joonas.kylmala at iki.fi

--- Comment #11 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
You can test this quite easily by first staging the record on intranet and then
on the command line by running:

> $ perl misc/commit_file.pl --batch-number 8
> ... importing MARC records -- please wait
> C4::ImportBatch::BatchCommitItems(): DBI Exception: DBD::mysql::st execute failed: Incorrect integer value: 'duplicate item barcode' for column `koha_kohadev`.`import_items`.`itemnumber` at row 1 at /kohadevbox/koha/C4/ImportBatch.pm line 717

Note that the commit_file.pl might give other unrelated errors to this bug if
you happen to give some record that it doesn't like but just ignore those...

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


More information about the Koha-bugs mailing list