From 655e7c5924ae2f24e7d0739efd311b9e018eceaa Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Fri, 27 May 2016 17:51:46 -0700 Subject: on 4.x upgrade, replace notification scrips with their HTML versions instead of creating redundant scrips, #71021 --- rt/etc/initialdata | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'rt/etc/initialdata') diff --git a/rt/etc/initialdata b/rt/etc/initialdata index 96255b5ed..931b318f2 100644 --- a/rt/etc/initialdata +++ b/rt/etc/initialdata @@ -947,7 +947,17 @@ Hour: { $SubscriptionObj->SubValue('Hour') } 'on correspond' => { 'notify requestors and ccs' => { 'correspondence' => 1 }, 'notify other recipients' => { 'correspondence' => 1 }, - } + # RT 4.2 + # superseded by "notify owner and adminccs" + 'notify adminccs' => { 'admin correspondence' => 1 }, + # superseded by "open inactive tickets" + 'open tickets' => { 'blank' => 1 }, + }, + 'on create' => { + # RT 4.2 + # superseded by "notify owner and adminccs" + 'notify adminccs' => { 'transaction' => 1 }, + }, ); # -*- perl -*- -- cgit v1.2.1 From 9324c0938ae5422f0836c56b59dee1b12c8526a7 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 31 May 2016 16:15:45 -0700 Subject: replace "open inactive" action with just "open", #71078 --- rt/etc/initialdata | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'rt/etc/initialdata') diff --git a/rt/etc/initialdata b/rt/etc/initialdata index 931b318f2..825e6506f 100644 --- a/rt/etc/initialdata +++ b/rt/etc/initialdata @@ -106,9 +106,6 @@ { Name => 'Open Tickets', # loc Description => 'Open tickets on correspondence', # loc ExecModule => 'AutoOpen' }, - { Name => 'Open Inactive Tickets', # loc - Description => 'Open inactive tickets', # loc - ExecModule => 'AutoOpenInactive' }, { Name => 'Extract Subject Tag', # loc Description => 'Extract tags from a Transaction\'s subject and add them to the Ticket\'s subject.', # loc ExecModule => 'ExtractSubjectTag' }, @@ -801,9 +798,9 @@ Hour: { $SubscriptionObj->SubValue('Hour') } # ScripCondition => 'On Correspond', # ScripAction => 'Notify Requestors And Ccs', # Template => 'Correspondence in HTML' }, - { Description => 'On Correspond Open Inactive Tickets', + { Description => 'On Correspond Open Tickets', ScripCondition => 'On Correspond', - ScripAction => 'Open Inactive Tickets', + ScripAction => 'Open Tickets', Template => 'Blank' }, { Description => 'On Create Autoreply To Requestors', ScripCondition => 'On Create', @@ -950,8 +947,8 @@ Hour: { $SubscriptionObj->SubValue('Hour') } # RT 4.2 # superseded by "notify owner and adminccs" 'notify adminccs' => { 'admin correspondence' => 1 }, - # superseded by "open inactive tickets" - 'open tickets' => { 'blank' => 1 }, + # the new way, but doesn't work right vs. "open tickets" + 'open inactive tickets' => { 'blank' => 1 }, }, 'on create' => { # RT 4.2 -- cgit v1.2.1