Actions
Bug #80515
closedTypoScript references <= not working for PAGE objects
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2017-03-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The example from docs with TEXT objects works but doing the same with a PAGE object fails.
Related docs¶
TS to reproduce¶
page = PAGE page.typeNum = 0 page.10 = TEXT page.10.value = Page page.10.wrap = <strong>|</strong> pdf =< page pdf.typeNum = 12345 pdf.10.value = PDF
You will receive The page is not configured! if you try to open a page with &type=12345
Might be a related issue? #71762
Updated by Riccardo De Contardi over 7 years ago
Same error seems still present in 7.6.16 and 9.0.0-dev (latest master)
Updated by Riccardo De Contardi almost 7 years ago
- Related to Feature #63894: Evaluate reference handling on TS parser level added
Updated by Markus Klein almost 7 years ago
- Status changed from New to Rejected
Updated by Vitoandre D'Oria almost 7 years ago
Ok that passage didn't exist in 6.2 documentation (see my initial link) so its a documentation error.
If anyone wonders why this isn't working it seems like this passage is the cause:
References are only resolved for Content Objects, otherwise references are not resolved. For example, you cannot use a reference < plugin.tx_example.settings.foo to find the value of foo. The value you get will be just < plugin.tx_example.settings.foo instead.
I guess by CE they mean objects like TEXT, IMAGE etc and PAGE is obviously no part of it.
Is there any special reason for this limitation? ie. performance or somethings else?
Actions