Project

General

Profile

Actions

Bug #86733

closed

Data in page is invalid if plugin exits

Added by Sascha Wilking over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-10-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I have a page which contains a plugin, the "data" attribute in FLUIDTEMPLATE contains the plugin data from tt_content instead of the page data. Also the same in Typoscript.

For example:

page.10 = FLUIDTEMPLATE
page.10.variables.subtitle = field : subtitle

Works fine, if no plugin on page is avalailable. Otherwise in the field list are tt_content elements, i.E. field : bodytext.

A debug message in the FLUIDTEMPLATE with the array "data" show all fields from page table if no plugin is available on the page. Otherwise it shows all data from the tt_content table.

I've tested it also with backend layouts:

lib.backendLayout = CASE
lib.backendLayout {
key.field = backend_layout
key.ifEmpty.data = levelfield:-1, backend_layout_next_level, slide
default = TEXT
default.value = default
pagets__1 = TEXT
pagets__1.value = 1Cols
pagets__2 = TEXT
pagets__2.value = 2Cols
}

On one of my subpages I use the backend_layout "pagets__1", on the parent page the setting is backend_layout=pagets__1 and backend_layout_next_level=pagets__2.

If a plugin exists on my subpage, the backend_layout "pagets__1" was ignored and the backend_layout_next_level from the parent was received. Without the plugin, everything works fine.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #86703: Page's data partly not available via getText if page has form CEClosed2018-10-20

Actions
Related to TYPO3 Core - Bug #86763: Backend Layout Slide not working in FLUIDTEMPLATE Variables after Upgrade to 9.5.0Closed2018-10-26

Actions
Actions #1

Updated by Sascha Wilking over 5 years ago

Could be the same problem as https://forge.typo3.org/issues/86703

Actions #2

Updated by Georg Ringer over 5 years ago

  • Related to Bug #86703: Page's data partly not available via getText if page has form CE added
Actions #3

Updated by Gerrit Code Review over 5 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/58832

Actions #4

Updated by Gerrit Code Review over 5 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/58832

Actions #5

Updated by Georg Ringer over 5 years ago

  • Related to Bug #86763: Backend Layout Slide not working in FLUIDTEMPLATE Variables after Upgrade to 9.5.0 added
Actions #6

Updated by Riccardo De Contardi about 5 years ago

Maybe it has been solved with https://review.typo3.org/#/c/58661/ , could someone test it?

Actions #7

Updated by Susanne Moog about 5 years ago

  • Status changed from Under Review to Closed

See comment 6 and review comments, patch has been abandoned.

Actions

Also available in: Atom PDF