Bug #105588
closedEmpty Fluid template produces PHP error
100%
Description
Currently, Fluid Standalone's render method doesn't always return a string: If the template only contains a number, the result will be an integer. If the template is empty, it produces null.
While this should be fixed in Standalone in a future (major) release, this can lead to problems in the Core. To prevent at least some of the issues, the Fluid result should be casted to string.
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/fluid/Classes/View/FluidViewAdapter.php#L51
Updated by Gerrit Code Review 5 days ago
- Status changed from Accepted 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/+/87010
Updated by Gerrit Code Review 5 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/+/87010
Updated by Gerrit Code Review 5 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/+/87010
Updated by Gerrit Code Review 5 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/+/87010
Updated by Gerrit Code Review 5 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/+/87039
Updated by Gerrit Code Review 5 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/+/87010
Updated by Gerrit Code Review 5 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/+/87010
Updated by Gerrit Code Review 4 days ago
Patch set 7 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/+/87010
Updated by Gerrit Code Review 4 days ago
Patch set 8 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/+/87010
Updated by Gerrit Code Review 4 days ago
Patch set 9 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/+/87010
Updated by Gerrit Code Review 4 days ago
Patch set 2 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/+/87039
Updated by Simon Praetorius 4 days ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2dbe32591b49138ebbf307749b215ddf5d8b8067.