Important: Program page reads the page record from page
Description
The data processor
program- builds the program of a program
page from the page record. It took that record from the variable
{data}
first, the one a
FLUIDTEMPLATE
page object
assigns, and from the page information object
{page}
of a
PAGEVIEW
page object only when
{data}
was empty.
PAGEVIEW
, which TYPO3 v13 offers, reserves
{page}
but not
{data}
, so a
PAGEVIEW
site package may assign a
{data}
of its own. A text there failed every program page with a
type error, and the records of a query were read as if they were the page
record.
The processor now takes the record from
{page}
when it is the page
information object, and from
{data}
otherwise. A value that is not
a non-empty array adds no program.
Impact
- A
PAGEVIEWsite package that assigns a variable{data}of its own, a text or the records of a query for example, no longer breaks program pages on TYPO3 v13. - A
PAGEVIEWsite package that assigned another page record as{data}on purpose now gets the program of the page it renders. - A
FLUIDTEMPLATEpage object on TYPO3 v12 or v13 is not affected, also when its site package assigns a variable{page}of its own.
Affected Installations
Installations on TYPO3 v13 with a
PAGEVIEW
page object that
assigns a variable
{data}
on program pages.