Comment 14 for bug 1207533

Revision history for this message
Jason Etheridge (phasefx) wrote :

I've pushed a branch to collab/phasefx/lp1207533-triggered-events-log

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=commitdiff;h=bdf3f1e1d893c5af76032b3d748d7f9f3087f318

One way to test this is in the staff client:

Administration -> Local Administration -> Notifications / Action Triggers
Filter -> Hook Is hold_request.cancel.staff -> Apply
Double-click the "Hold Cancelled (Staff) User Message" row, but not the hyperlink.
Check Enabled and change Processing Delay to 00:00:00, and then Save.

Retrieve a patron account, go to Holds, Place Hold. Find a title and place a hold on it.

Re-retrieve the patron account and cancel the hold.

On the server as user opensrf (assuming a typical stock setup), manually run:
/openils/bin/action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --run-pending

In the patron account, go to Other -> Triggered Events / Notifications

Click on the Holds tab in the spawned interface. You should see the title you placed a hold on.