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

Andrew Fuerste-Henry <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
         Depends on|                            |30668, 18816

--- Comment #2 from Andrew Fuerste-Henry <[email protected]> ---
I've done some digging through github and BZ for history. It looks like logging
of changes to NotForLoan status at checkin and checkout was removed as part of
Bug 18816 - "Make CataloguingLog work in production by preventing circulation
from spamming the log." The release notes there read "This enhancement stops
unnecessary logging of every check in and check out actions when the
CataloguingLog system preference is enabled." Prior to Bug 18816, the
cataloging log would record the change to items.onloan resulting from every
checkin and checkout, which seems to be what the release notes are primarily
referring to. Updates to an item's NotForLoan status at checkin or checkout can
be assumed to be reasonably less frequent.

Later, a unit test was added to ensure that changes to NotForLoan status at
checkin or checkout would not be logged. These were added in Bug 30668 -
"UpdateItemLocationOnCheckin spams the cataloguing log." The need to prevent
logging of changes to item location at checkin stems from use of the CART
location and cart-to-shelf functionality -- for libraries using CART, every
item checked in gets its location changed. As above, updates to an item's
NotForLoan status at checkin or checkout can be assumed to be reasonably less
frequent than changes to location when using CART.
Bug 30688 did not change any functionality around the logging of NotForLoan
changes, but added tests for the prevention of logging for both location
changes and not for loan changes.

Ultimately, I'd argue that changes to items' NotForLoan statuses at
checkout/checkin happen on a relatively small number of checkouts or checkins
and are worth logging.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18816
[Bug 18816] Make CataloguingLog work in production by preventing circulation
from spamming the log
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30668
[Bug 30668] UpdateItemLocationOnCheckin spams the cataloguing log
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to