Project

General

Profile

Actions

Bug #80515

closed

TypoScript references <= not working for PAGE objects

Added by Vitoandre D'Oria about 7 years ago. Updated about 6 years ago.

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

https://docs.typo3.org/typo3cms/TyposcriptSyntaxReference/6.2/singlehtml/Index.html#references-the-sign

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #63894: Evaluate reference handling on TS parser levelRejected2014-12-14

Actions
Actions #1

Updated by Riccardo De Contardi about 7 years ago

Same error seems still present in 7.6.16 and 9.0.0-dev (latest master)

Actions #2

Updated by Riccardo De Contardi about 6 years ago

  • Related to Feature #63894: Evaluate reference handling on TS parser level added
Actions #4

Updated by Vitoandre D'Oria about 6 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

Also available in: Atom PDF