Bug #86733
closedData in page is invalid if plugin exits
0%
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.
Updated by Sascha Wilking about 6 years ago
Could be the same problem as https://forge.typo3.org/issues/86703
Updated by Georg Ringer about 6 years ago
- Related to Bug #86703: Page's data partly not available via getText if page has form CE added
Updated by Gerrit Code Review about 6 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
Updated by Gerrit Code Review about 6 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
Updated by Georg Ringer about 6 years ago
- Related to Bug #86763: Backend Layout Slide not working in FLUIDTEMPLATE Variables after Upgrade to 9.5.0 added
Updated by Riccardo De Contardi almost 6 years ago
Maybe it has been solved with https://review.typo3.org/#/c/58661/ , could someone test it?
Updated by Susanne Moog over 5 years ago
- Status changed from Under Review to Closed
See comment 6 and review comments, patch has been abandoned.