[Bug 24182] New: Cancelling a hold floods the logs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24182 Bug ID: 24182 Summary: Cancelling a hold floods the logs Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Hold requests Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com 382 C4::Log::logaction( 'HOLDS', 'CANCEL', $self->reserve_id, Dumper($self->unblessed) ) 383 if C4::Context->preference('HoldsLog'); This ends up loggining a date time object for the cancellation date: 357 $self->cancellationdate( dt_from_string->strftime( '%Y-%m-%d %H:%M:%S' ) ); -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24182 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 23219 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24182 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|master |19.05 Status|RESOLVED |REOPENED Resolution|DUPLICATE |--- --- Comment #2 from Nick Clemens <nick@bywatersolutions.com> --- Actually, we may want to cherry-pick the fix for this for stable versions: $self->cancellationdate(dt_from_string); to $self->cancellationdate( dt_from_string->strftime( '%Y-%m-%d %H:%M:%S' ) ); -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24182 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|REOPENED |RESOLVED CC| |jonathan.druart+koha@gmail. | |com --- Comment #3 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- *** This bug has been marked as a duplicate of bug 28700 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org