Bug #105461
closedImprove example for rendering content with f:cObject for page-content processor
100%
Description
Current example in the Changelogs use {record.fullType}
in the typoScriptObjectPath
:
<f:cObject typoscriptObjectPath="{record.fullType}" table="{record.mainType}" data="{record.rawRecord}"/>
With this code rendering of the whole page is breaking by an exception that the TypoScript object can't be found if no TypoScript for the CType exists.
Better using {record.mainType} (normally tt_content)
<f:cObject typoscriptObjectPath="{record.mainType}" table="{record.mainType}" data="{record.rawRecord}"/>
Updated by Karsten Nowak (undkonsorten) 27 days ago
- Related to Task #105355: Example for rendering content with f:cObject for page-content processor added
Updated by Gerrit Code Review 27 days ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86776
Updated by Gerrit Code Review 27 days ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86776
Updated by Gerrit Code Review 27 days ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86776
Updated by Gerrit Code Review 27 days ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86776
Updated by Gerrit Code Review 27 days ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86776
Updated by Gerrit Code Review 27 days ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86776
Updated by Gerrit Code Review 27 days ago
Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86741
Updated by Karsten Nowak (undkonsorten) 27 days ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e7d2440be879ae9fde8a43ef70dc2ee895d85559.