[otrs-cvs] otrs UPGRADING,1.84,1.85
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs
In directory lancelot:/tmp/cvs-serv26161
Modified Files:
UPGRADING
Log Message:
Added event handler check to upgrading instructions.
Author: mg
Index: UPGRADING
===================================================================
RCS file: /home/cvs/otrs/UPGRADING,v
retrieving revision 1.84
retrieving revision 1.85
diff -2 -u -d -r1.84 -r1.85
--- UPGRADING 20 Nov 2012 14:26:01 -0000 1.84
+++ UPGRADING 23 Nov 2012 09:44:42 -0000 1.85
@@ -268,4 +268,29 @@
-16) Well done!
+16) Adapt custom event handler modules
+ ----------------------------------
+
+ Note: this only applies if you have any custom developed even handler modules.
+
+ 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}.
+
+ 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,
+ );
+
+
+17) Well done!
----------
---------------------------------------------------------------------
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