[otrs-cvs] doc-admin/en/content/installation upgrading.xml, 1.4, 1.5

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/doc-admin/en/content/installation
In directory lancelot:/tmp/cvs-serv26225/en/content/installation

Modified Files:
	upgrading.xml 
Log Message:
Added event handler check to upgrading instructions.

Author: mg

Index: upgrading.xml
===================================================================
RCS file: /home/cvs/doc-admin/en/content/installation/upgrading.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -2 -u -d -r1.4 -r1.5
--- upgrading.xml	8 Nov 2012 09:02:27 -0000	1.4
+++ upgrading.xml	23 Nov 2012 09:44:51 -0000	1.5
@@ -323,4 +323,33 @@
       </listitem>
       <listitem>
+        <para>
+            Adapt custom event handler modules
+        </para>
+        <para>
+            Note: this only applies if you have any custom developed even handler modules.
+        </para>
+        <para>
+            Since OTRS 3.2, the data payload for even handler modules is no longer copied
+            into the %Param hash. You need to explicitly access it through $Param{Data}.
+            <screen>
+Old:
+
+# get ticket
+my %Ticket = $Self->{TicketObject}->TicketGet(
+    TicketID      => $Param{TicketID},
+    UserID        => 1,
+);
+
+New:
+
+# get ticket
+my %Ticket = $Self->{TicketObject}->TicketGet(
+    TicketID      => $Param{Data}->{TicketID},
+    UserID        => 1,
+);
+            </screen>
+        </para>
+      </listitem>
+      <listitem>
         <para>Well done!</para>
       </listitem>
---------------------------------------------------------------------
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.