This documents track potential backward compatibility issues for Joomla 2.5 and Joomla Platform 11.4 which is included in Joomla 2.5. Listed are issues which potentially break extensions and newly deprecated APIs.

Revision as of 12:13, 29 August 2012

Contents

This documents track potential backward compatibility issues for Joomla 2.5 and Joomla Platform 11.4 which is included in Joomla 2.5. Listed are issues which potentially break extensions and newly deprecated APIs.

JSimpleXML

The following class members have become private:

JSimpleXML:: $_parser

JSimpleXML:: $_xml

JSimpleXML:: $_stack

JComponentHelper

In JComponentHelper::renderComponent the execution of the component is moved to the new function JComponentHelper::executeComponent. This means that a component cannot change or use any of the (internal) variables of renderComponent that might be used by the function later on, like $task or $option. Solution is to get the values, via JRequest, in the component itself.

Plug-in events

onPrepareUserProfileData has been removed. Instead respond to onContentPrepareData with a context of com_users.profile

JUser

The Associative array of user groups for a user no longer contains the group name, but only the group id in both the key and value. The names of groups for a user can be obtained from getGroupsByUser in JAccess.

CMS

Plugin Extension Manifest for Update Servers

(as of 1.7.3) The xml extension manifest for plugins on update servers must specify the client <client>0</client> in the <update> sections. Example: