Deprecation: #78899 - FormEngine Methods

See Issue #78899

Description

The following methods have been marked as deprecated:

  • TYPO3\CMS\Core\Database\RelationHandler->readyForInterface()
  • TYPO3\CMS\Backend\Form\FormDataProvider->sanitizeMaxItems()
  • TYPO3\CMS\Backend\Utility::getSpecConfParts()
  • TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController and backend route wizard_colorpicker
  • TYPO3\CMS\Backend\Form\Wizard\SuggestWizard and template typo3/sysext/backend/Resources/Private/Templates/Wizards/SuggestWizard.html
  • TYPO3\CMS\Backend\Form\AbstractNode->getValidationDataAsDataAttribute()
  • TYPO3\CMS\Backend\Form\Element->renderWizards()

Impact

Using above methods will throw a deprecation warning.

Affected Installations

Extensions using above methods.

Migration

  • sanitizeMaxItems() has been merged into calling methods using a default value and sanitizing with MathUtility::forceIntegerInRange().
  • readyForInterface() has been substituted with the easier to parse method getResolvedItemArray().
  • getSpecConfParts() is obsolete with the removal of defaultExtras TCA
  • ColorpickerController is obsolete with the JavaScript based colorpicker in the backend
  • SuggestWizard has been merged into GroupElement directly, the standalone class is obsolete
  • getValidationDataAsDataAttribute() - use getValidationDataAsJsonString() and htmlspecialchars() the result or use GeneralUtility::implodeAttributes() with second argument set to true.
  • renderWizards() has been substituted with the new API NodeExpansion. Old popup, userFunc, script wizards are still called and rendered, but the method usage should be avoided and extensions should switch to the new API.

Extensions using above methods should consider to switch away from those methods.