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.