Hold cancel notification fails after clear-shelf process

Bug #881451 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Status tracked in Main
2.1
Fix Released
Undecided
Unassigned
2.2
Fix Released
Undecided
Unassigned
Main
Fix Released
Undecided
Unassigned

Bug Description

When holds are cancelled via the clear-shelf process, action/trigger event_defs that use the cancel_time field as the delay_field will fail, since the delay_field value will be set to "now" instead of a valid datetime. This patch fixes that problem by re-fetching the holds from the DB before A/T processes them.

user/berick/clear-shelf-notify-repair-cancel-time @ working/Evergreen.git

Patch should also be back-ported to 2.1

Tags: pullrequest
Revision history for this message
Mike Rylander (mrylander) wrote :

Picked as requested.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.