[Rt-commit] rtir branch, 5.0/restore-incidents-and-investigations-on-create, repushed
Aaron Trevena
ast at bestpractical.com
Fri Jun 12 11:45:59 EDT 2020
The branch 5.0/restore-incidents-and-investigations-on-create was deleted and repushed:
was 2f95e6da341f94eb57712070eb67eb1106a324db
now 59b3cd0b40ee750c8d8ef4baa7fde2a8b30a10c4
1: fb4aafbe ! 1: f653964e Core RT::Extension::CreateIncidentAndInvestigation
@@ -56,7 +56,7 @@
+ InvestigationCc => 'Cc',
+ InvestigationAdminCc => 'AdminCc',
+ },
-+ results => @results,
++ results => \@results,
+ );
+}
+
2: 6b6ff8c1 = 2: 6982dcd0 Migrate Investigation/Elements/Create to elevator themes
3: 7ac8ea18 = 3: 901886b0 Replace Cc and AdminCc helper text with tooltips
4: cf010fd3 ! 4: 7f3ce8e3 Allow investigation queue to be selected
@@ -26,7 +26,7 @@
-RT->Logger->error("Unable to load $InvestigationsQueue : $msg") unless $ret;
+$InvestigationsQueueObj->Load( $InvestigationsQueue );
+
-+# Users limited by constituency may not be able to use the queue provided or selected
++# Users limited by constituency may not be able to use the default or specified investigations queue
+# Look up what queue the user has SeeQueue and CreateTicket for and use that instead.
+unless ( $InvestigationsQueueObj->Name ) {
+ RT->Logger->debug( "Investigation Queue '$InvestigationsQueue' could not be loaded for user " . $session{'CurrentUser'}->Id . "." );
5: 2f95e6da ! 5: 59b3cd0b Reinstate "Incident"/"Launch Investigation" page menu
@@ -3,7 +3,6 @@
Reinstate "Incident"/"Launch Investigation" page menu
Reinstated tabbed switching view between incident and investigation
- Fixed passing results to FilterRTAddresses as array when should be arrayref
diff --git a/html/RTIR/Incident/Create.html b/html/RTIR/Incident/Create.html
--- a/html/RTIR/Incident/Create.html
@@ -15,24 +14,6 @@
+ onload => "function () { hide('ticket-create-investigation') }",
&>
<& /Elements/Tabs &>
-
-@@
- my $InvestigationsQueueObj = RT::Queue->new( $session{'CurrentUser'} );
- $InvestigationsQueueObj->Load( $InvestigationsQueue );
-
--# Users limited by constituency may not be able to use the queue provided or selected
-+# Users limited by constituency may not be able to use the default or specified investigations queue
- # Look up what queue the user has SeeQueue and CreateTicket for and use that instead.
- unless ( $InvestigationsQueueObj->Name ) {
- RT->Logger->debug( "Investigation Queue '$InvestigationsQueue' could not be loaded for user " . $session{'CurrentUser'}->Id . "." );
-@@
- InvestigationCc => 'Cc',
- InvestigationAdminCc => 'AdminCc',
- },
-- results => @results,
-+ results => \@results,
- );
- }
@@
$SubmitLabel = loc('Create');
More information about the rt-commit
mailing list