]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1410369: Create user messages when configured to do so
authorMike Rylander <mrylander@gmail.com>
Mon, 16 Feb 2015 19:07:57 +0000 (14:07 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 20 Feb 2015 21:12:19 +0000 (16:12 -0500)
commitde7625c19d0399bbfd94ef1c9caeb7047331c448
treef77dca693d12065bb67ff8b675566b6e4c674cb8
parent5bc67405ad923dc4d234cb378337edd63d14f482
LP#1410369: Create user messages when configured to do so

When an A/T definition has both message_usr_path and message_template
defined, we gather the user, sending lib, template, and title and push those
into the environment.  After the user-defined reactor has successfully run,
we pass the environment off to a special-purpose handler that generates
output for actor.usr_message.message and, upon success of that, we insert
the user message into the database.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/ProcessMessage.pm [new file with mode: 0644]