Bug #85297

Breaking: TypoScript setup is overwritten

Added by David Bruchmann about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2018-06-18
Due date:
% Done:

0%

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

Description

Having in setup two definitions to include anything, only one is accepted, the other one is overwritten if the variables are written nested:

page {
  includeCSS{
    jquery = ....
  }
}

page {
  includeCSS{
    sortable = ....
  }
}

In this notation only `sortable` is loaded, that means the notation is really handled like arrays, where a new `page {` is overwriting the whole page-configuration.

If I note it like this it's accepted:

page.includeCSS.jquery = ...
page.includeCSS.sortable = ...

I can't remember having had this behavior in earlier versions and I consider this as BUG and suppose it will corrupt many existing configurations.


Related issues

Related to TYPO3 Core - Bug #85353: includeJSLibs gets overwritten by includeJSFooterlibs if same name is usedClosed2018-06-22

Actions

Also available in: Atom PDF