[otrs-cvs] otrs/Kernel/Modules CustomerTicketProcess.pm, 1.13, 1.14 AgentTicketProcess.pm, 1.26, 1.27

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv14207/Kernel/Modules

Modified Files:
	CustomerTicketProcess.pm AgentTicketProcess.pm 
Log Message:
Fixed bug#9049 - Process Management: process with a starting AD for CustomerInterface only breaks in AgentInterface.

Author: cr

Index: CustomerTicketProcess.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/CustomerTicketProcess.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -2 -u -d -r1.13 -r1.14
--- CustomerTicketProcess.pm	15 Jan 2013 18:36:41 -0000	1.13
+++ CustomerTicketProcess.pm	15 Jan 2013 23:02:44 -0000	1.14
@@ -87,5 +87,12 @@
     my $ActivityDialogHashRef;
 
-    my $ProcessList = $Self->{ProcessObject}->ProcessList( ProcessState => ['Active'] );
+    # get all processes even those that can not be started in the Customer Interface
+    # currently there is no option to start a process from Customer Interface
+    # this list is used later (if is restricted then valid customer activity dialogs it will not be
+    # possible to access valid customer activity dialogs)
+    my $ProcessList = $Self->{ProcessObject}->ProcessList(
+        ProcessState => ['Active'],
+        Interface    => 'all',
+    );
     my $ProcessEntityID = $Self->{ParamObject}->GetParam( Param => 'ProcessEntityID' );
 

Author: cr

Index: AgentTicketProcess.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketProcess.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -2 -u -d -r1.26 -r1.27
--- AgentTicketProcess.pm	15 Jan 2013 18:36:41 -0000	1.26
+++ AgentTicketProcess.pm	15 Jan 2013 23:02:44 -0000	1.27
@@ -264,5 +264,8 @@
     }
 
-    my $ProcessList = $Self->{ProcessObject}->ProcessList( ProcessState => ['Active'] );
+    my $ProcessList = $Self->{ProcessObject}->ProcessList(
+        ProcessState => ['Active'],
+        Interface    => ['AgentInterface'],
+    );
     my $ProcessEntityID = $Self->{ParamObject}->GetParam( Param => 'ProcessEntityID' );
 
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.