[otrs-cvs] otrs/Kernel/Modules AgentTicketProcess.pm,1.40,1.41

"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-serv21003/Kernel/Modules

Modified Files:
	AgentTicketProcess.pm 
Log Message:
 - 2013-02-13 Fixed bug#9150 - Process Management: CustomerUser field not indicated as required field.

Author: cr

Index: AgentTicketProcess.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketProcess.pm,v
retrieving revision 1.40
retrieving revision 1.41
diff -2 -u -d -r1.40 -r1.41
--- AgentTicketProcess.pm	14 Feb 2013 00:11:20 -0000	1.40
+++ AgentTicketProcess.pm	14 Feb 2013 01:19:42 -0000	1.41
@@ -4207,4 +4207,13 @@
                 next DIALOGFIELD if $StoredFields{ $Self->{NameToID}{$CurrentField} };
 
+                if ( $ActivityDialog->{Fields}{$CurrentField}{Display} == 1 ) {
+                    $Self->{LayoutObject}->FatalError(
+                        Message => "Wrong ActivityDialog Field config: $CurrentField can't be"
+                            . ' Display => 1 / Show field (Please change its configuration to be'
+                            . ' Display => 0 / Do not show field or '
+                            . ' Display => 2 / Show field as mandatory )!',
+                    );
+                }
+
                 # skip TicketCustomerSet() if there is no change in the customer
                 if (
@@ -4467,6 +4476,7 @@
             $Self->{LayoutObject}->FatalError(
                 Message => "Wrong ActivityDialog Field config: $Param{Field} can't be"
-                    . " Display => 1 (Please change its configuration to be Display => 0 or"
-                    . " Display => 2)!",
+                    . ' Display => 1 / Show field (Please change its configuration to be'
+                    . ' Display => 0 / Do not show field or '
+                    . ' Display => 2 / Show field as mandatory )!',
             );
         }
---------------------------------------------------------------------
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.