[otrs-cvs] ITSMChangeManagement/Kernel/System/ITSMChange ITSMCondition.pm, 1.60, 1.61

"CVS commits notifications of OTRS.org" <[email protected]> Mon, 3 Jun 2013 08:55:29 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange
In directory lancelot:/tmp/cvs-serv989/Kernel/System/ITSMChange

Modified Files:
	ITSMCondition.pm 
Log Message:
Fixed bug# 9347 - Log message for unsuccessful actions does not help.

Author: ub

Index: ITSMCondition.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange/ITSMCondition.pm,v
retrieving revision 1.60
retrieving revision 1.61
diff -2 -u -d -r1.60 -r1.61
--- ITSMCondition.pm	6 Jun 2012 16:50:57 -0000	1.60
+++ ITSMCondition.pm	3 Jun 2013 08:55:24 -0000	1.61
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ITSMChange/ITSMCondition.pm - all condition functions
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -748,4 +748,5 @@
         ChangeID          => 123,
         AttributesChanged => { ITSMChange => [ ChangeTitle, ChangeDescription] },  # (optional)
+        Event             => 'ChangeUpdate',                                       # (optional)
         UserID            => 1,
     );
@@ -788,4 +789,5 @@
             ConditionID       => $ConditionID,
             AttributesChanged => $Param{AttributesChanged},
+            Event             => $Param{Event},
             UserID            => $Param{UserID},
         );
@@ -817,4 +819,5 @@
         ConditionID       => 123,
         AttributesChanged => { ITSMChange => [ ChangeTitle, ChangeDescription] },  # (optional)
+        Event             => 'ChangeUpdate',                                       # (optional)
         UserID            => 1,
     );
@@ -944,5 +947,6 @@
                 Priority => 'error',
                 Message  => "ActionID '$ActionID' could not be executed successfully "
-                    . "for ConditionID '$Param{ConditionID}'.",
+                    . "for ConditionID '$Param{ConditionID}' (Condition name: '$ConditionData->{Name}') "
+                    . "on ChangeID '$ConditionData->{ChangeID}' for event '$Param{Event}'.",
             );
         }
---------------------------------------------------------------------
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