[Rt-commit] rt branch, 4.2/fixup-default-scrips, updated. rt-4.0.0rc6-73-g74a57ad

Thomas Sibley trs at bestpractical.com
Thu Sep 27 16:26:35 EDT 2012


The branch, 4.2/fixup-default-scrips has been updated
       via  74a57ad096b9e6a9344270d3a630790896e00c8d (commit)
       via  97cd2f00aff5e1479be937f17d52d1a6151aa142 (commit)
      from  63852e9b8f6f0a98e4d523e1591179a8d232a9e7 (commit)

Summary of changes:
 etc/initialdata | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 97cd2f00aff5e1479be937f17d52d1a6151aa142
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Sep 27 11:12:40 2012 -0700

    Add a Notify Owner and AdminCcs action
    
    Combining notification of Owner and AdminCcs into the same action
    receives the benefit of duplicate recipient squashing if the Owner is
    (as commonly is the case) a queue-level AdminCc.

diff --git a/etc/initialdata b/etc/initialdata
index 8425827..c363ffa 100755
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -57,7 +57,10 @@
       Description => 'Sends mail to the administrative Ccs',              # loc
       ExecModule  => 'Notify',
       Argument    => 'AdminCc' },
-
+    { Name        => 'Notify Owner and AdminCcs',                         # loc
+      Description => 'Sends mail to the Owner and administrative Ccs',    # loc
+      ExecModule  => 'Notify',
+      Argument    => 'Owner,AdminCc' },
     { Name        => 'Notify Requestors and Ccs as Comment',              # loc
       Description => 'Send mail to requestors and Ccs as a comment',      # loc
       ExecModule  => 'NotifyAsComment',

commit 74a57ad096b9e6a9344270d3a630790896e00c8d
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Sep 27 11:18:17 2012 -0700

    Notify Owner too on Create and Correspond, not just AdminCcs
    
    Otherwise Owners who aren't a queue AdminCc (or also a ticket level
    AdminCc) don't receive mail!
    
    This needs a smart upgrade path, similar to 63852e9, which adds the
    action if it doesn't exist already and modifies the default scrips if
    they still exist.  It also needs a note in UPGRADING-4.2.

diff --git a/etc/initialdata b/etc/initialdata
index c363ffa..9de209d 100755
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -504,9 +504,9 @@ Hour:         { $SubscriptionObj->SubValue('Hour') }
        ScripCondition => 'On Create',
        ScripAction    => 'AutoReply To Requestors',
        Template       => 'AutoReply' },
-    {  Description    => 'On Create Notify AdminCcs',
+    {  Description    => 'On Create Notify Owner and AdminCcs',
        ScripCondition => 'On Create',
-       ScripAction    => 'Notify AdminCcs',
+       ScripAction    => 'Notify Owner and AdminCcs',
        Template       => 'Transaction' },
     {  Description    => 'On Create Notify Ccs',
        ScripCondition => 'On Create',
@@ -516,9 +516,9 @@ Hour:         { $SubscriptionObj->SubValue('Hour') }
        ScripCondition => 'On Create',
        ScripAction    => 'Notify Other Recipients',
        Template       => 'Correspondence' },
-    {  Description    => 'On Correspond Notify AdminCcs',
+    {  Description    => 'On Correspond Notify Owner and AdminCcs',
        ScripCondition => 'On Correspond',
-       ScripAction    => 'Notify AdminCcs',
+       ScripAction    => 'Notify Owner and AdminCcs',
        Template       => 'Admin Correspondence' },
     {  Description    => 'On Correspond Notify Requestors and Ccs',
        ScripCondition => 'On Correspond',

-----------------------------------------------------------------------


More information about the Rt-commit mailing list