Project

General

Profile

Actions

Task #69721

closed

Story #69712: Further FormEngine development

Inline BackendUtility::getRecordTitle as data provider

Added by Christian Kuhn about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-09-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
hard
Sprint Focus:

Description

BackendUtility::getRecordTitle() is used within FormEngine at various places. It does tons of different data fetching operations and is in general a rather huge headache.

Get rid of this in FormEngine scope:

  • Add a "recordTitle" field to the data array in FormDataCompiler that can be used by render part.
  • Extend removeObsoleteColumns() in TcaTypesShowItem method to not remove fields that are used in one of the title ctrl fields mentioned in getRecordTitle. Maybe extract this method to an own provider that is executed right after TcaTypesShowItem provider. This has the effect, that the following field specific providers like TcaSelect and friends will calculated items and values for fields that are used within title, but that are now within showitem, too.
  • Add a provider that is executed after the Tca* providers that fills the "recordTitle" field of the data array.

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #69749: Introduce caching for record titlesClosedNicole Cordes2015-09-13

Actions
Actions

Also available in: Atom PDF