[Koha-bugs] [Bug 7403] CataloguingLog warning incorrect
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 26 18:08:20 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7403
--- Comment #4 from Marc Véron <veron at veron.ch> ---
(In reply to Katrin Fischer from comment #3)
> The warning is still present, also we somehow seem to add 2 entries for each
> checkout and return of an item.
Check out an item generates 2 entries:
2016-01-26 17:14:16 A. Testman (51) Catalog Modify Item
364 item $VAR1 = { 'itemnumber' => '364', 'issues' => 1,
'datelastborrowed' => '2016-01-26', 'holdingbranch' => 'CPL', 'itemlost_on' =>
undef, 'itemlost' => 0, 'onloan' => '2016-02-04' };
2016-01-26 17:14:16 A. Testman (51) Catalog Modify Item
364 item $VAR1 = { 'itemnumber' => '364', 'datelastseen' =>
'2016-01-26', 'itemlost_on' => undef, 'itemlost' => 0 };
Check in the item generates 3 entries, #1 and #2 are identical:
2016-01-26 17:16:21 A. Testman (51) Catalog Modify Item
364 item $VAR1 = { 'itemnumber' => '364', 'onloan' => undef };
2016-01-26 17:16:21 A. Testman (51) Catalog Modify Item
364 item $VAR1 = { 'itemnumber' => '364', 'onloan' => undef };
2016-01-26 17:16:21 A. Testman (51) Catalog Modify Item
364 item $VAR1 = { 'itemnumber' => '364', 'datelastseen' =>
'2016-01-26', 'itemlost_on' => undef, 'itemlost' => 0 };
It will be difficult to get that right, because while checking in and out,
ModItem is called several times and generates each time a log entry
(C4/Items.pm line 608)
Maybe the logs for items and for bibliographic records could be separated? E.g.
use 'Cataloguing' for records only and a new log 'Items' for Items?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list