Bug #71361
closedfluid link.typolink crashes in Backend with page links
0%
Description
When using Fluid's <f:link.typolink>
in backend preview of content elements, I get a fatal error when the parameter
attribute is a page ID.
It works fine for full URLs or absolute paths like "http://example.org/" or "/example".
Error message:
Fatal error: Call to a member function getPage_noCheck() on null in .../typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php on line 6094
Updated by Christian Weiske about 9 years ago
Updated by Christian Weiske about 9 years ago
Relative paths like foo
lead to:
Fatal error: Call to a member function getPageIdFromAlias() on null in .../typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php on line 6301
Updated by Christian Weiske over 8 years ago
I've made a custom view helper that I use instead of <f:link.typolink>
; see http://p.cweiske.de/301
Updated by Gerrit Code Review over 8 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/48580
Updated by Gerrit Code Review over 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48580
Updated by Gerrit Code Review over 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48580
Updated by Gerrit Code Review about 8 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48580
Updated by Gerrit Code Review over 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48580
Updated by Susanne Moog almost 5 years ago
- Status changed from Under Review to Needs Feedback
Is this still an issue in current TYPO3 versions?
Updated by Georg Ringer over 4 years ago
- Status changed from Needs Feedback to Closed
tested in 10 with
<f:link.typolink parameter="31">example</f:link.typolink>
and this generates a link as in the frontend, therefore closing this issue.