[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
Sat May 21 18:21:47 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
----------------------------------------------------------------------------
 Attachment #119609|0                           |1
        is obsolete|                            |
 Attachment #135070|0                           |1
        is obsolete|                            |

--- Comment #14 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 135253
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135253&action=edit
Bug 28152: Fix import_items row creation if duplicate barcode

We are trying to insert "duplicate item barcode" into import_items.itemnumber
(integer),
it fails with "Incorrect integer value: 'duplicate item barcode' for column
'itemnumber' at row 1"

To reproduce:
Export a biblio with an item
Import it
=> The item is not added, and there is no new row in import_items.

The error only appears in the log if you comment the close STDERR and
close STDOUT lines

Signed-off-by: Joonas Kylmälä <joonas.kylmala at iki.fi>

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


More information about the Koha-bugs mailing list