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.
Category:
FormEngine aka TCEforms
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.
- Complexity changed from medium to hard
- Assignee set to Nicole Cordes
- Status changed from New to Needs Feedback
Hey Christian,
I had a look at the used BackendUtility::getRecordTitle and had to confess that the title is crawled for related records (e.g. parent page, inline elements) but not for the record itself. IMHO we cannot get rid of the calls of getRecordTitle but maybe we should introduce an internal caching in there.
- Status changed from Needs Feedback to New
Still needs to be tackled. getRecordTitle within FormEngine usage should vanish and substituted by some proper data providing ... not 100% sure about all details, though.
- Assignee deleted (
Nicole Cordes)
Morton picked up this topic.
- Sprint Focus changed from On Location Sprint to Stabilization Sprint
- Category set to FormEngine aka TCEforms
- Status changed from New to In Progress
- Assignee set to Morton Jonuschat
- Status changed from In Progress to Under Review
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
- Target version changed from 7.5 to 7 LTS
- Sprint Focus deleted (
Stabilization Sprint)
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43485
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF