[Koha-bugs] [Bug 5839] Add mapping for items.stocknumber to MARC21

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 4 10:46:35 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5839

--- Comment #17 from M. de Rooy <m.de.rooy at rijksmuseum.nl> 2011-04-04 08:46:35 UTC ---
Stumbled while testing this patch on another error in C4/Items. 
If I entered a duplicate inventory number, the item was not saved but the user
is not warned. This error comes from an existing bug [read: not existing code]
in C4/Items. Only the logfile tells you what happened.
Created bug 6041 for this.

[Mon Apr 04 10:05:12 2011] [error] [client 192.87.126.61] [Mon Apr  4 10:05:12
2011] additem.pl: DBD::mysql::st execute failed: Duplicate entry 'invtest' for
key 3 at /usr/share/koha/testclone/C4/Items.pm line 2157., referer:
http://libdevelop.rijksmuseum.nl:8009/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=144200&itemnumber=147307
[Mon Apr 04 10:05:12 2011] [error] [client 192.87.126.61] [Mon Apr  4 10:05:12
2011] additem.pl: ERROR in _koha_modify_item UPDATE items SET
homebranch=?,replacementprice=?,restricted=?,items.cn_sort=?,wthdrawn=?,more_subfields_xml=?,booksellerid=?,holdingbranch=?,damaged=?,stocknumber=?,notforloan=?,replacementpricedate=?,itemnumber=?,ccode=?,itemnotes=?,location=?,itemcallnumber=?,stack=?,barcode=?,itemlost=?,uri=?,items.cn_source=?,materials=?,enumchron=?,dateaccessioned=?,copynumber=?,permanent_location=?,price=?,paidfor=?,itype=?
WHERE itemnumber=?Duplicate entry 'invtest' for key 3 at
/usr/share/koha/testclone/C4/Items.pm line 2160., referer:
http://libdevelop.rijksmuseum.nl:8009/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=144200&itemnumber=147307

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list