Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

TYPO3.CMS/Releases/7.2/Deprecation

From TYPO3Wiki
Jump to: navigation, search

Contents

Deprecation: #47712 - Deprecate old Locking API

Description

The old class \TYPO3\CMS\Core\Locking\Locker has been marked as deprecated.

The configuration option [SYS][lockingMode] is now marked as deprecated and only affects the old Locker class, which is unused in the Core now.

Moreover two unused methods of \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController have been marked as deprecated
 ;* acquirePageGenerationLock()
  • releasePageGenerationLock()

Impact

Using the old class will trigger deprecation log messages.

Migration

Use the new Locking Service API instead.

Deprecation: #51360 - Deprecate mod.tx_linkvalidator namespace in scheduler settings

Description

Using the mod.tx_linkvalidator namespace in the linkvalidator scheduler task settings has been marked as deprecated. To make the setting consistent with TSconfig the namespace is changed to mod.linkvalidator.

Impact

Using mod.tx_linkvalidator in the scheduler task settings will throw an deprecation log entry.

Affected installations

Instances which use the linkvalidator scheduler task and use custom TSconfig in the task settings.

Migration

Replace mod.tx_linkvalidator with mod.linkvalidator in all affected scheduler tasks.

Deprecation: #64068 - Deprecate thumbs.php and ThumbnailView

Description

Prior to the File Abstraction Layer (FAL) there was typo3/thumbs.php generating all preview images for the TYPO3 Backend resources. This functionality is now marked for removal in TYPO3 CMS 8, as all functionality in the core already uses the File Abstraction Layer.

Impact

Using ThumbnailView, thumbs.php or BackendUtility::getThumbNail() will throw a deprecation warning.

Affected installations

Any TYPO3 installation with custom extensions using one of the files / methods mentioned.

Migration

Use the File Abstraction Layer for any custom works. See BackendUtility::thumbCode() for inspiration.

Deprecation: #64598 - Deprecate PagePositionMap::JSimgFunc

Description

The following function has been marked as deprecated:

  • \TYPO3\CMS\Backend\Tree\View\PagePositionMap::JSimgFunc

This method was used only in class PagePositionMap. The implemented "onmouseover" / "onmouseout" behaviour to switch between two images was dropped entirely for now. If this is needed, it should done a different way.

Impact

Using this function in a backend module will throw a deprecation message.

Affected Installations

Every Extension that uses the deprecated function.

Migration

Write own JavaScript functions for your extension to handle onmouseover and onmouseout events to switch between two images.

Deprecation: #65111 - getDynTabMenu

Description

The DocumentTemplate method getDynTabMenu() has been marked as deprecated.

Impact

The method has been refactored and renamed. The new method getDynamicTabMenu() should be used. The method getDynTabMenu() is now marked as deprecated.

Affected installations

All installations which make use of DocumentTemplate::getDynTabMenu()

Migration

Use DocumentTemplate::getDynamicTabMenu() instead of DocumentTemplate::getDynTabMenu()

Deprecation: #65283 - Deprecate show item entry point

Description

The following entry point has been marked as deprecated:

  • typo3/show_item.php

Impact

Using this entry point in a backend module will throw a deprecation message.

Migration

Use \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl() instead with the according module name.

typo3/show_item.php will have to be refactored to \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('show_item')

Deprecation: #65288 - Deprecate "new record" entry point

Description

The following entry point has been marked as deprecated:

  • typo3/db_new.php

Impact

Using this entry point in a backend module will throw a deprecation message.

Migration

Use \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl() instead with the according module name.

typo3/db_new.php will have to be refactored to \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('db_new')

Deprecation: #65289 - Deprecate browser entry point

Description

The following entry point has been marked as deprecated:

  • typo3/browser.php

Impact

Using this entry point in a backend module will throw a deprecation message.

Migration

Use \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl() instead with the according module name.

typo3/browser.php will have to be refactored to \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('browser')

Deprecation: #65290 - Deprecate dummy entry point

Description

The following entry point has been marked as deprecated:

  • typo3/dummy.php

Impact

Using this entry point in a backend module will throw a deprecation message.

Migration

Use \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl() instead with the according module name.

typo3/dummy.php will have to be refactored to \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('dummy')

Deprecation: #65283 - Deprecate logout entry point

Description

The following entry point has been marked as deprecated:

  • typo3/logout.php

Impact

Using this entry point in a backend module will throw a deprecation message.

Migration

Use \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl() instead with the according module name.

typo3/logout.php will have to be refactored to \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('logout')

Deprecation: #65293 - Deprecate file navigation frame entry point

Description

The following entry point has been marked as deprecated:

  • typo3/alt_file_navframe.php

Impact

Using this entry point in a backend module will throw a deprecation message.

Migration

Use \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl() instead with the according module name.

typo3/alt_file_navframe.php will have to be refactored to \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('file_navframe')

Deprecation: #64134 - Deprecate $BE_USER->OS

Description

The public property in the global object $BE_USER->OS has been marked as deprecated.

Affected installations

Instances with extensions that make use of the public property directly.

Migration

Use the constant TYPO3_OS directly.

Deprecation: #65360 - Deprecate wrong class name used in PostProcessTree Signal call

Description

In DatabaseTreeDataProvider there is a PostProcessTree signal called via SignalSlot dispatcher. The wrong class name TYPO3\CMS\Core\Tree\TableConfiguration\TableConfiguration\DatabaseTreeDataProvider was used prior to this change. This class name has now been marked as deprecated. The correct name is TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider

Impact

Wrong class name was used for the PostProcessTree signal. The old one is now deprecated.

Affected installations

All installations which have signals connected to the old/wrong class name TYPO3\CMS\Core\Tree\TableConfiguration\TableConfiguration\DatabaseTreeDataProvider.

Migration

  • Use TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider::class instead of TYPO3\CMS\Core\Tree\TableConfiguration\TableConfiguration\DatabaseTreeDataProvider

Deprecation: #65381 - Deprecate DataHandler property "stripslashes_values"

Description

The DataHandler property stripslashes_values has been marked as deprecated.

Impact

A deprecation message is logged for every time DataHandler processes data if this property is set to TRUE.

Affected installations

All installations or extensions relying on the DataHandler property stripslashes_values.

Migration

Set the stripslashes_values property to FALSE and apply stripslashes() in the code that prepares the data if it was expected that DataHandler stripped the slashes from incoming data.

Deprecation: #65422 - Alias cObjects COBJ_ARRAY and CASEFUNC

Description

The cObject aliases COBJ_ARRAY (alias for COA) and CASEFUNC (alias for CASE) have been moved to the compatibility6 extension. The use of these aliases have been marked for deprecation.

Impact

Any usage of TypoScript using COBJ_ARRAY and CASEFUNC will not work anymore unless the compatibility6 extension is installed.

Affected installations

All installations with TypoScript in COBJ_ARRAY and CASEFUNC.

Migration

Use COA instead of COBJ_ARRAY and CASE instead of CASEFUNC in all TypoScript code. Installing ext:compatibility6 can be used as a short-term solution, although this is discouraged.

Deprecation: #65465 - Deprecate errorLog in ReferenceIndex

Description

The method \TYPO3\CMS\Core\Database\ReferenceIndex::error() and the according property \TYPO3\CMS\Core\Database\ReferenceIndex::errorLog have been marked as deprecated. It was not used and always empty.

Impact

Calling ReferenceIndex::error() will throw a deprecation message. This function should not be used from outside the core.

Migration

Extensions that used this property to log errors have to use their own errorLog.

Deprecation: #65913 - Deprecate $TSFE->checkFileInclude

Description

The public method in the global frontend controller $TSFE->checkFileInclude() has been marked as deprecated.

Affected installations

Instances with extensions that make use of the method directly.

Migration

Use the autoloader for classes or $TSFE->tmpl->getFileName() if needed.

Deprecation: #65934 - "Prefix Local Anchors" functionality moved to legacy extension

Description

Prefixing local anchors is not considered best practice in web sites anymore as the same is achieved with absolute prefixes for links (see config.absRefPrefix). Therefore the according functionality has been moved to the legacy extension EXT:compatibility6.

The following TypoScript option has been marked for deprecation:

config.prefixLocalAnchors

The following PHP methods have been marked for deprecation:

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::prefixLocalAnchorsWithScript()
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::doLocalAnchorFix()

Impact

The content output of the TYPO3 frontend is not prefixed with local anchors anymore unless EXT:compatibility6 is loaded.

Affected installations

Any installation having the TypoScript option config.prefixLocalAnchors set will have different behaviour in the frontend rendering.

Migration

For TYPO3 CMS 7, installing EXT:compatibility6 brings back the existing functionality.

Deprecation: #65938 - Discourage usage of "$TSFE->anchorPrefix"

Description

The property "anchorPrefix" within TypoScriptFrontendController is set to the relative path from the public site root when config.baseURL is set, and can be used to prefix local anchors with that prefix. The option has been marked as deprecated in favor of using config.absRefPrefix when this functionality is needed.

Affected installations

All installations or extensions relying on the TypoScriptFrontendController property "anchorPrefix" running with the TypoScript option config.baseURL enabled.

Migration

Use the PHP code below directly to fetch the information when needing baseURL and the anchorPrefix option.

GeneralUtility::getIndpEnv('TYPO3_REQUEST_URL'), strlen(GeneralUtility::getIndpEnv('TYPO3_SITE_URL'))

Alternatively, use config.absRefPrefix to achieve the same result.

Deprecation: #65956 - $returnHTML parameter of DebugUtility::debugRows()

Description

The parameter $returnHTML of the method \TYPO3\CMS\Core\Utility\DebugUtility::debugRows() is not used anymore and has been marked for deprecation.

Impact

The parameter is not used anymore.

Affected installations

All method calls using this parameter are affected.

Migration

Remove the parameter in the method call.

Deprecation: #66065 - Backend Logo View Deprecated

Description

The logo view class responsible for the rendering of the TYPO3 Logo in the left corner of the backend is not in use anymore and marked for deprecation. The logic for exchanging the logo via TBE_STYLES is still available.

Impact

Installations extending TYPO3\CMS\Backend\View\LogoView as an XCLASS will not see any modified output anymore.

Affected Installations

Installations extending TYPO3\CMS\Backend\View\LogoView as an XCLASS.

Migration

As the same logic is now done in the BackendController and the main Backend Fluid Template, the template can be modified to fit the installations' needs.

Deprecation: #66223 - Backend parseTime deprecated

Description

The option to show the parse time of the rendered script on the bottom of the HTML page has been marked for deprecation and is not in use anymore.

Impact

Debug information is not shown anymore on a backend page if the member var $parseTimeFlag is enabled.

Affected Installations

Installations with 3rd-party extensions manually activating this option by e.g. XCLASSing or hooking into the main document template class.

Migration

Do not set the member var to TRUE.

Deprecation: #66431 - New Login Screen

Description

The login screen is now supporting background images and adjustable highlight colors out of the box. Settings for the login screen can now be accessed in the backend extension settings.

Since the needed settings for the login screen were moved to the backend extension configuration, $GLOBALS['TBE_STYLES']['logo_login'] is only used as fallback. The option has been marked as deprecated and will be removed with TYPO3 CMS 8.

Impact

$GLOBALS['TBE_STYLES']['logo_login'] will add a deprecation log message and is still used as fallback to the new option but will be removed with TYPO3 CMS 8.

Affected Installations

Installations that use $GLOBALS['TBE_STYLES']['logo_login'] to set an alternative logo for the backend login.

Migration

Remove the $GLOBALS['TBE_STYLES']['logo_login'] from your setup and go to the extension manager to edit the configuration for the backend extension.