Actions
Bug #91139
closedException when ViewHelper f:format.html is used in backend context in latest master Branch
Start date:
2020-04-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Maybe because of the commit edcef47ff87e514a53f01e4be26a22a41278de84 we're running now into:
Call to undefined method stdClass::getSite()
We're using PreviewRenderer for content elements previews. In the renderer class a fluid standalone class is used with a HTML-Template.
If the template simply contains:
<f:format.html>></f:format.html>
It will lead to this error.
Updated by Markus Klein over 4 years ago
- Assignee set to Markus Klein
This happens due to improper "fake frontends" being built in Backend.
I will mitigate this short-term by validating the TSFE object for the correct type.
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64255
Updated by Markus Klein over 4 years ago
- Related to Task #91140: Improve fake Frontends in Core added
Updated by Markus Klein over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 205f246287459f239d5317b04e01004efc1e5669.
Actions