[Rt-commit] [rtir] 01/01: Multiple Incidents per Investigations didn't work

Kevin Falcone falcone at bestpractical.com
Fri Jun 14 16:56:47 EDT 2013


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 2.9-trunk
in repository rtir.

commit 465032e03b4424fe16b00c6cf5ad28b6d02a7943
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Jun 14 16:45:04 2013 -0400

    Multiple Incidents per Investigations didn't work
    
    This code, added in 0ec529fb8, erroneously passed
        new-MemberOf => "3, 7"
    to ticket->Create, which has never worked.
    It accepts either [3, 7] or '3 7'.
    
    This makes the claim of RTIR_IncidentChildren that you can link an
    Investigation to multiple Incidents true.
---
 html/RTIR/Create.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index 6b82a55..8d65292 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -461,7 +461,7 @@ $m->callback(
 );
 
 unless ( $skip_create || $checks_failure ) {
-    $ARGS{'new-MemberOf'} = join ', ', @Incident;
+    $ARGS{'new-MemberOf'} = join ' ', @Incident;
     $m->callback(CallbackName => 'BeforeDisplay', Ticket => $SplitObj, ARGSRef => \%ARGS);
     push @{ $session{'Actions'}{''} ||= [] }, @results;
     return $m->comp( 'Display.html', %ARGS, SkipNotification => \@SkipNotification );

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Rt-commit mailing list