Difference between revisions of "Potential backward compatibility issues in Joomla 1.7 and Joomla Platform 11.2"

From Joomla! Documentation

m
Line 25: Line 25:
  
 
== MooTools ==
 
== MooTools ==
*MooTools Core has been updated to version 1.3.2, MooTools More to 1.3.2.1. Due to a change in JSON handling a slight change in behavior can occur. More details can be found on the [https://github.com/mootools/mootools-core/wiki/Update-from-1.2-to-1.3 MooTools Wiki].
+
*MooTools Core has been updated to version 1.3.2, MooTools More to 1.3.2.1. Due to a change in JSON handling a slight change in behavior can occur. More details can be found on the [https://github.com/mootools/mootools-core/wiki/Update-from-1.2-to-1.3 MooTools Wiki].<ref> Update Mootools to version 1.3.2 ([http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25082 Issue]) ([http://joomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=%2F&view=rev&revision=21357 Revision])</ref>
  
 
= CMS =
 
= CMS =
Line 32: Line 32:
  
 
== TinyMCE ==
 
== TinyMCE ==
*TinyMCE has been updated to the 3.4 series requiring new language files and potentially breaking TinyMCE plug-ins.<ref>Update TinyMCE to version 3.4.2 ([http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25313  Issue])([http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25313  Revision]) </ref>
+
*TinyMCE has been updated to the 3.4 series requiring new language files and potentially breaking TinyMCE plug-ins.<ref>Update TinyMCE to version 3.4.2 ([http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25313  Issue]) ([http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25313  Revision])</ref>
 +
 
 +
== JavaScript ==
 +
*Mootools Core and MooToools more will not always be loaded in the backend as it was in the past. Extension have to specifically include it.
  
 
= References =
 
= References =
 
<references />
 
<references />

Revision as of 12:23, 10 June 2011

Platform[edit]

  • JPATH_PLATFORM is now used instead of JPATH_LIBRARIES (JPATH_LIBRARIES will continue to be supported for version 1.7)

JDatabaseQuery[edit]

JDatabaseQuery is now abstract due of the work done to support new database engines (Windows Azure and Microsoft SQL Server). This means you must use $db->getQuery(true); to instantiate a query as is the correct practice in Joomla 1.6.

JDocument[edit]

  • getHeadData(), setHeadData() and mergeHeadData() are from now on only present in JDocumentHTML. They have been removed from JDocument and JDocumentXML.[1]

JDocumentHTML[edit]

  • JDocumentHTML::$_links has changed to a multidimensional array. Also the rendering of the link elements has been moved from JDocumentHTML to JDocumentRenderHead.[2]

JDocumentRendererMessage[edit]

  • A div element with the ID "system-message-container" is always rendered, whether there are messages or not. This ID should not be used in any extension or template.[3]

JLoader[edit]

  • JLoader can't load files multiple times anymore.[4]

JLog[edit]

  • JLog has shifted to joomla.log.log from joomla.error.log and features support for multiple loggers.

JURI[edit]

  • The unused parameter $akey has been removed from JURI::buildQuery().[5]

MooTools[edit]

  • MooTools Core has been updated to version 1.3.2, MooTools More to 1.3.2.1. Due to a change in JSON handling a slight change in behavior can occur. More details can be found on the MooTools Wiki.[6]

CMS[edit]

General Coding Principles[edit]

Within the new Joomla release cycle, developers need to be conscious of more frequent changes to version numbers. If you are doing hard checks against, for example, a version number exactly equal to "1.6" then as we move to 1.7, those checks may fail with unexpected results. You should ensure that version checks appropriately allow for future increments like 1.7, 1.8, 2.0, 3.0, and so on.

TinyMCE[edit]

  • TinyMCE has been updated to the 3.4 series requiring new language files and potentially breaking TinyMCE plug-ins.[7]

JavaScript[edit]

  • Mootools Core and MooToools more will not always be loaded in the backend as it was in the past. Extension have to specifically include it.

References[edit]