[Koha-bugs] [Bug 29192] DefaultHoldExpirationDate sends a DateTime object to logs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 7 16:37:24 CEST 2021


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 125889
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125889&action=edit
Bug 29192: Set expirationdate as string when storing Hold

To test:
 1 - Enable HoldsLog in system preferences
 2 - Set system preferences:
    DefaultHoldExpirationDate: Set
    DefaultHoldExpirationdatePeriod: 5
    DefaultHoldExpirationdateUnitOfTime: days
 3 - Create a hold for a patron
 4 - Note the expiration date is set
 5 - Check the action logs - SELECT * FROM action_logs
 6 - Note that there is a lot of data, this is from DateTime object in
expirationdate
 7 - Apply patch
 8 - Restart all
 9 - Place another hold
10 - Confirm expiration date set correctly
11 - View the logs
12 - Entry for new hold contains only the date, no extra data

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


More information about the Koha-bugs mailing list