.. _important-program-page-reads-the-page-record-from-page: ======================================================= Important: Program page reads the page record from page ======================================================= Description =========== The data processor :typoscript:`program-data` builds the program of a program page from the page record. It took that record from the variable :html:`{data}` first, the one a :typoscript:`FLUIDTEMPLATE` page object assigns, and from the page information object :html:`{page}` of a :typoscript:`PAGEVIEW` page object only when :html:`{data}` was empty. :typoscript:`PAGEVIEW`, which TYPO3 v13 offers, reserves :html:`{page}` but not :html:`{data}`, so a :typoscript:`PAGEVIEW` site package may assign a :html:`{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 :html:`{page}` when it is the page information object, and from :html:`{data}` otherwise. A value that is not a non-empty array adds no program. Impact ====== * A :typoscript:`PAGEVIEW` site package that assigns a variable :html:`{data}` of its own, a text or the records of a query for example, no longer breaks program pages on TYPO3 v13. * A :typoscript:`PAGEVIEW` site package that assigned another page record as :html:`{data}` on purpose now gets the program of the page it renders. * A :typoscript:`FLUIDTEMPLATE` page object on TYPO3 v12 or v13 is not affected, also when its site package assigns a variable :html:`{page}` of its own. Affected Installations ====================== Installations on TYPO3 v13 with a :typoscript:`PAGEVIEW` page object that assigns a variable :html:`{data}` on program pages. .. index:: TypoScript, Frontend, ext:academic_programs