[otrs-cvs] otrs/Kernel/System/ProcessManagement/DB Transition.pm, 1.7, 1.8 Activity.pm, 1.12, 1.13 TransitionAction.pm, 1.7, 1.8 Process.pm, 1.37, 1.38 ActivityDialog.pm, 1.6, 1.7

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

Modified Files:
	Transition.pm Activity.pm TransitionAction.pm Process.pm 
	ActivityDialog.pm 
Log Message:
Fixed problems with YAML parsing long lines. Added new module dependency YAML::XS.

Author: mg

Index: Transition.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/ProcessManagement/DB/Transition.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -2 -u -d -r1.7 -r1.8
--- Transition.pm	20 Nov 2012 15:54:28 -0000	1.7
+++ Transition.pm	15 Jan 2013 17:43:27 -0000	1.8
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ProcessManagement/Transition.pm - Process Management DB Transition backend
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -15,5 +15,5 @@
 use warnings;
 
-use YAML;
+use Kernel::System::YAML;
 
 use Kernel::System::Cache;
@@ -198,5 +198,5 @@
 
     # dump layout and config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if
@@ -360,5 +360,5 @@
 
     while ( my @Data = $Self->{DBObject}->FetchrowArray() ) {
-        my $Config = YAML::Load( $Data[3] );
+        my $Config = Kernel::System::YAML::Load( $Data[3] );
 
         %Data = (
@@ -465,5 +465,5 @@
 
     # dump layout and config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if

Author: mg

Index: Activity.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/ProcessManagement/DB/Activity.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -2 -u -d -r1.12 -r1.13
--- Activity.pm	20 Nov 2012 15:53:49 -0000	1.12
+++ Activity.pm	15 Jan 2013 17:43:27 -0000	1.13
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ProcessManagement/Activity.pm - Process Management DB Activity backend
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -15,5 +15,5 @@
 use warnings;
 
-use YAML;
+use Kernel::System::YAML;
 
 use Kernel::System::Cache;
@@ -184,5 +184,5 @@
 
     # dump config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if
@@ -375,5 +375,5 @@
 
     while ( my @Data = $Self->{DBObject}->FetchrowArray() ) {
-        my $Config = YAML::Load( $Data[3] );
+        my $Config = Kernel::System::YAML::Load( $Data[3] );
 
         %Data = (
@@ -489,5 +489,5 @@
 
     # dump config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if

Author: mg

Index: TransitionAction.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/ProcessManagement/DB/TransitionAction.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -2 -u -d -r1.7 -r1.8
--- TransitionAction.pm	20 Nov 2012 15:54:35 -0000	1.7
+++ TransitionAction.pm	15 Jan 2013 17:43:27 -0000	1.8
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ProcessManagement/TransitionAction.pm - Process Management DB TransitionAction backend
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -15,5 +15,5 @@
 use warnings;
 
-use YAML;
+use Kernel::System::YAML;
 
 use Kernel::System::Cache;
@@ -204,5 +204,5 @@
 
     # dump layout and config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if
@@ -366,5 +366,5 @@
 
     while ( my @Data = $Self->{DBObject}->FetchrowArray() ) {
-        my $Config = YAML::Load( $Data[3] );
+        my $Config = Kernel::System::YAML::Load( $Data[3] );
 
         %Data = (
@@ -478,5 +478,5 @@
 
     # dump layout and config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if

Author: mg

Index: Process.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/ProcessManagement/DB/Process.pm,v
retrieving revision 1.37
retrieving revision 1.38
diff -2 -u -d -r1.37 -r1.38
--- Process.pm	11 Jan 2013 16:29:22 -0000	1.37
+++ Process.pm	15 Jan 2013 17:43:27 -0000	1.38
@@ -15,5 +15,5 @@
 use warnings;
 
-use YAML;
+use Kernel::System::YAML;
 
 use Kernel::System::Cache;
@@ -204,6 +204,6 @@
 
     # dump layout and config as string
-    my $Layout = YAML::Dump( $Param{Layout} );
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Layout = Kernel::System::YAML::Dump( $Param{Layout} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if
@@ -438,6 +438,6 @@
 
     while ( my @Data = $Self->{DBObject}->FetchrowArray() ) {
-        my $Layout = YAML::Load( $Data[4] );
-        my $Config = YAML::Load( $Data[5] );
+        my $Layout = Kernel::System::YAML::Load( $Data[4] );
+        my $Config = Kernel::System::YAML::Load( $Data[5] );
 
         %Data = (
@@ -664,6 +664,6 @@
 
     # dump layout and config as string
-    my $Layout = YAML::Dump( $Param{Layout} );
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Layout = Kernel::System::YAML::Dump( $Param{Layout} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if

Author: mg

Index: ActivityDialog.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/ProcessManagement/DB/ActivityDialog.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -2 -u -d -r1.6 -r1.7
--- ActivityDialog.pm	20 Nov 2012 15:54:00 -0000	1.6
+++ ActivityDialog.pm	15 Jan 2013 17:43:27 -0000	1.7
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ProcessManagement/Activity/ActivityDialog.pm - Process Management DB ActivityDialog backend
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -15,5 +15,5 @@
 use warnings;
 
-use YAML;
+use Kernel::System::YAML;
 
 use Kernel::System::Cache;
@@ -205,5 +205,5 @@
 
     # dump layout and config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if
@@ -367,5 +367,5 @@
 
     while ( my @Data = $Self->{DBObject}->FetchrowArray() ) {
-        my $Config = YAML::Load( $Data[3] );
+        my $Config = Kernel::System::YAML::Load( $Data[3] );
 
         %Data = (
@@ -479,5 +479,5 @@
 
     # dump layout and config as string
-    my $Config = YAML::Dump( $Param{Config} );
+    my $Config = Kernel::System::YAML::Dump( $Param{Config} );
 
     # Make sure the resulting string has the UTF-8 flag. YAML only sets it if
---------------------------------------------------------------------
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.