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

TYPO3.CMS/Releases/7.1/Deprecation

From TYPO3Wiki
Jump to: navigation, search

Contents

Deprecation: #24387 - TypoScript option config.xhtmlDoctype=xhtml_2

Description

The TypoScript option config.xhtmlDoctype = xhtml_2 is marked for removal in CMS 8, due to the W3C decision to fully work on HTML5 instead of XHTML2. See http://www.w3.org/MarkUp/ and http://www.w3.org/News/2010.html#entry-8982 for more details.

Affected installations

Any TYPO3 installation with TypoScript that relies on config.xhtmlDoctype = xhtml_2.

Migration

Use other doctypes like html5 to render the frontend of the TYPO3 site.

Deprecation: #25112 - Deprecate TypoScript property "andWhere"

Description

The select-property andWhere has been marked as deprecated.

Impact

A deprecation message is logged for every usage of this property.

Affected installations

All installations or extensions using the select-property andWhere.

Migration

Use the properties where and markers instead.

page.30 = CONTENT
page.30 {
    table = tt_content
    select {
        pidInList = this
        orderBy = sorting
        where {
            dataWrap = sorting>{field:sorting}
        }
    }
}
page.60 = CONTENT
page.60 {
    table = tt_content
    select {
        pidInList = 73
        where = header != ###whatever###
        orderBy = ###sortfield###
        markers {
            whatever.data = GP:first
            sortfield.value = sor
            sortfield.wrap = |ting
        }
    }
}

Deprecation: #46523 - BackendUtility::implodeTSParams()

Description

The method TYPO3\CMS\Backend\Utility\BackendUtility::implodeTSParams() has been marked as deprecated and will be removed in TYPO3 CMS 8.

Impact

Any installation with third-party extensions using this method will throw a deprecation warning.

Affected installations

Any installation with third-party extensions using the method.

Deprecation: #46770 - Deprecate LocalImageProcessor::getTemporaryImageWithText

Description

The public method LocalImageProcessor::getTemporaryImageWithText() has been marked as deprecated, it is directly replaced by \TYPO3\CMS\Core\Imaging\GraphicalFunctions::getTemporaryImageWithText().

Impact

Calling LocalImageProcessor::getTemporaryImageWithText() will trigger a deprecation log message.

Affected installations

TYPO3 Installations with custom extensions using the API of the File Abstraction Layer for custom image processing.

Migration

Replace all calls to the method to the LocalImageProcessor with an instantiation of GraphicalFunctions and a call to getTemporaryImageWithText() on the GraphicalFunctions object.

Deprecation: #49247 - Deprecate TypoScript functions "textStyle" and "tableStyle"

Description

The following stdWrap methods have been marked as deprecated:

  • textStyle
  • tableStyle

Impact

Usage of the mentioned stdWrap methods is deprecated.

Affected installations

All installations or extensions using the stdWrap methods textStyle and tableStyle.

Migration

Use CSS instead.

Deprecation: #60559 - makeLoginBoxImage()

Description

Method TYPO3\CMS\Backend\Controller::makeLoginBoxImage() has been marked as deprecated.

Impact

Backend login images are no longer rendered. The method body is empty and does not return rendered HTML any longer.

Affected installations

The method was unused with default backend login screen for a long time already, an installation is only affected if a 3rd party extension was loaded that changed the default login screen and used makeLoginBoxImage() or the template marker LOGINBOX_IMAGE.

Migration

Free an affected 3rd party extension from using this method or unload the extension.

Deprecation: #61605 - Change naming of TypoScript property page.includeJSlibs

Description

The existing TypoScript option page.includeJSlibs has been renamed to page.includeJSLibs to follow the lower camel case naming scheme. The existing property has been marked as deprecated.

Impact

The old property will be removed with CMS 8 and should be avoided if it has been used before.

Affected Installations

Any installation using the page.includeJSlibs option.

Migration

Search and replace all TypoScript code of the installation from includeJSlibs to includeJSLibs.

Deprecation: #62329 - Deprecate DocumentTable::table()

Description

DocumentTable::table() has been marked as deprecated.

Impact

Calling table() of the DocumentTable class will trigger a deprecation log message.

Affected installations

Instances which use DocumentTable::table() for rendering tables.

Migration

Use fluid for rendering instead.

Deprecation: #62855 - "XHTML cleaning" functionality moved to legacy extension

Description

XHTML cleaning is not necessary anymore, since modern technology bases completely on HTML5. Therefore the according functionality has been moved to the legacy extension EXT:compatibility6.

The following TypoScript option has been marked for deprecation:

config.xhtml_cleaning

The following PHP method has been marked for deprecation:

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::doXHTML_cleaning()

Impact

The content output of the TYPO3 frontend is not cleaned anymore unless EXT:compatibility6 is loaded.

Affected installations

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

Migration

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

Deprecation: #63912 - Deprecate unused methods from Constraint model

Description

TYPO3\CMS\Belog\Domain\Model\Constraint::setManualDateStart() has been marked as deprecated. TYPO3\CMS\Belog\Domain\Model\Constraint::getManualDateStart() has been marked as deprecated. TYPO3\CMS\Belog\Domain\Model\Constraint::setManualDateStop() has been marked as deprecated. TYPO3\CMS\Belog\Domain\Model\Constraint::getManualDateStop() has been marked as deprecated.

Impact

Using setManualDateStart(), getManualDateStart(), setManualDateStop() and getManualDateStop() of Constraint model class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of setManualDateStart(), getManualDateStart(), setManualDateStop() and getManualDateStop().

Migration

No migration is possible for all methods, since those methods were unused for a long time already and should not be needed at all.

Deprecation: #62864 - DataHandler->include_filefunctions deprecated

Description

The public property ->include_filefunctions has been marked as deprecated. It has not been formally defined and was only created dynamically in the code.

Impact

In the history of the core this property has never been used (read). Extensions might have used it.

Affected installations

All installations running extensions that rely on reading this property. Currently no affected extensions are known.

Migration

If your extension needs to know whether the BasicFileUtility has been instantiated in DataHandler it could use $datahandler->fileFunc instanceof \TYPO3\CMS\Core\Utility\File\BasicFileUtility

Deprecation: #63522 - Deprecate the "device" TypoScript condition

Description

Client related TypoScript conditions the device type condition have been marked as deprecated.

Impact

Using a condition like [device = wap] is considered outdated and should be solved differently.

Affected installations

Instances with TypoScript that rely on [device = ...].

Migration

  • Most usual conditions for specific browsers can nowadays be turned into conditional CSS includes
  • Use libraries such as modernizr for browser support
  • If conditions for specific clients or devices are still needed, they should be done with a userFunc condition and a project like WURFL that keep the device information more recent than the current core code like matching AMIGA

Deprecation: #63847 - Deprecate FormEngine::$renderReadonly

Description

The direct access to FormEngine::$renderReadonly has been marked as deprecated.

Impact

Using FormEngine::$renderReadonly of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of FormEngine::$renderReadonly.

Migration

Use AbstractFormElement::setRenderReadonly(TRUE) to force all elements to be rendered as read only fields.

Deprecation: #63850 - Deprecate FormEngine::insertDefStyle

Description

FormEngine::insertDefStyle has been marked as deprecated.

Impact

Using insertDefStyle of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of FormEngine::insertDefStyle.

Migration

The property is unused and can be removed.

Deprecation: #63852 - Deprecate FormEngine::getAvailableLanguages()

Description

FormEngine::getAvailableLanguages() has been marked as deprecated.

Impact

Using getAvailableLanguages() of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of FormEngine::getAvailableLanguages().

Migration

No migration possible.

Deprecation: #63855 - Deprecate FormEngine::sL()

Description

FormEngine::sL() has been marked as deprecated.

Impact

Calling sL() of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, that use FormEngine::sL().

Migration

Use getLanguageService() instead.

Deprecation: #63864 - Deprecate FormEngine::renderVDEFDiff()

Description

FormEngine::renderVDEFDiff() has been marked as deprecated.

Impact

Using FormEngine::renderVDEFDiff() of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of FormEngine::renderVDEFDiff().

Migration

No migration possible.

Deprecation: #63878 - Deprecate FormEngine::getLL

Description

FormEngine::getLL() has been marked as deprecated.

Impact

Using getLL() of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of FormEngine::getLL().

Migration

Use methods like sL of languageService directly.

Deprecation: #63889 - Deprecate FormEngine::getTSCpid()

Description

code:`FormEngine::getTSCpid()` has been marked as deprecated.

Impact

Using :code:`FormEngine::getTSCpid()` of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of :code:`FormEngine::getTSCpid()`.

Migration

Use :code:`BackendUtility::getTSCpidCached()` instead.

Deprecation: #63912 - Deprecate unused methods from FormEngine

Description

FormEngine::getSingleField_typeFlex_langMenu() has been marked as deprecated. FormEngine::getSingleField_typeFlex_sheetMenu() has been marked as deprecated. FormEngine::getSpecConfFromString() has been marked as deprecated.

Impact

Using getSingleField_typeFlex_langMenu(), getSingleField_typeFlex_sheetMenu() and getSpecConfFromString() of FormEngine class will trigger a deprecation log message.

Affected installations

Instances which use custom form elements, which make use of getSingleField_typeFlex_langMenu(), getSingleField_typeFlex_sheetMenu() or getSpecConfFromString().

Migration

For getSingleField_typeFlex_langMenu() and getSingleField_typeFlex_sheetMenu() no migration is possible, those methods were unused for a long time already and should not be needed at all. For getSpecConfFromString() use method BackendUtility::getSpecConfParts() instead.

Deprecation: #64059 - Non-ExtJS Page Tree Navigation Frame

Description

The non-ExtJS page tree navigation frame which was used in the core until TYPO3 CMS 4.5, is still available and can be included within a module, if the module is registering a navFrameScript in ext_tables.php:

'navFrameScript' => 'alt_db_navframe.php'

Impact

Usage of the PHP class, and the entry script typo3/alt_db_navframe.php has been marked as deprecated.

Affected installations

All installations with extensions using modules with the non-ExtJS page tree navigation frame.

Migration

Use the ExtJS navigationComponentID instead within the module registration.

Deprecation: #64109 - Deprecate global hook softRefParser_GL

Description

The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['softRefParser_GL'] has been marked as deprecated. It was a hook to add a general softRefParser which parsed every SoftReference regardless of its type. The softRefParser_GL-hook was undocumented and used neither in core nor in any known extension.

Impact

Creating a global softRefParser by adding a hook to $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['softRefParser_GL'] will trigger a deprecation log message.

Affected installations

Instances with extensions using a $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['softRefParser_GL']-hook

Migration

A softRefParser_GL hook in an extension has to be replaced with multiple softRefParser hooks for each type the parser can handle.

Deprecation: #64134 - Deprecate TypoScriptTemplateObjectBrowserModuleFunctionController::verify_TSobjects()

Description

TypoScriptTemplateObjectBrowserModuleFunctionController::verify_TSobjects() has been marked as deprecated.

Impact

Using TypoScriptTemplateObjectBrowserModuleFunctionController::verify_TSobjects() will trigger a deprecation log message.

Affected installations

Instances which use of TypoScriptTemplateObjectBrowserModuleFunctionController::verify_TSobjects().

Migration

No migration possible.

Deprecation: #64147 - TemplateService->ext_getKeyImage

Description

ExtendedTemplateService::ext_getKeyImage() has been marked as deprecated. ConfigurationForm::ext_getKeyImage() has been marked as deprecated.

Impact

Using the two methods will throw a deprecation message.

Affected installations

TYPO3 installations with extensions that call the methods above directly.

Migration

As in the methods directly, plain HTML based on Twitter bootstrap can be used. Example: <span class="label label-danger">3</span>.

Deprecation: #64388 - Direct ContentObject methods within ContentObjectRenderer

Description

The following wrapper methods for ContentObject rendering within ContentObjectRenderer have been marked for removal for TYPO3 CMS 8.

FLOWPLAYER()
TEXT()
CLEARGIF()
COBJ_ARRAY()
USER()
FILE()
FILES()
IMAGE()
IMG_RESOURCE()
IMGTEXT()
CONTENT()
RECORDS()
HMENU()
CTABLE()
OTABLE()
COLUMNS()
HRULER()
CASEFUNC()
LOAD_REGISTER()
FORM()
SEARCHRESULT()
TEMPLATE()
FLUIDTEMPLATE()
MULTIMEDIA()
MEDIA()
SWFOBJECT()
QTOBJECT()
SVG()

Impact

Using the methods above directly in any third party extension will trigger a deprecation log message.

Affected installations

Instances which use custom calls to ContentObjects via the methods above.

Migration

Replace the direct method calls to $contentObject->COBJECT() with the common method.

Example for the SVG() ContentObject call:

$cObj->cObjGetSingle('SVG', $conf);

Deprecation: #64711 - Various methods within CSS Styled Content Controller

Description

The following methods within the main CSS Styled Content Controller responsible for rendering custom HTML due to lack of TypoScript logic in the past have been marked for removal for TYPO3 CMS 8. They are not part of the default CSS Styled Content TypoScript code since TYPO3 CMS 6.

CssStyledContentController->render_bullets()
CssStyledContentController->render_uploads()
CssStyledContentController->beautifyFileLink()

Impact

Using the methods in custom TypoScript code or CSS Styled Content methods will throw a deprecation message.

Migration

Use default TypoScript from CSS Styled Content derived from the current version.

Deprecation: #64922 - Deprecated entry points

Description

The following entry points have been marked as deprecated:

  • typo3/tce_file.php
  • typo3/move_el.php
  • typo3/tce_db.php
  • typo3/login_frameset.php
  • typo3/sysext/cms/layout/db_new_content_el.php
  • typo3/sysext/cms/layout/db_layout.php

Impact

Using one of the entry points in a backend module will throw a deprecation message.

Migration

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

typo3/tce_file.php \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('tce_file')

typo3/move_el.php \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('move_element')

typo3/tce_db.php \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('tce_db')

typo3/login_frameset.php \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('login_frameset')

typo3/sysext/cms/layout/db_new_content_el.php \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('new_content_element')

typo3/sysext/cms/layout/db_layout.php \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('web_layout')