includeJSLibs gets overwritten by includeJSFooterlibs if same name is used
There is no differentation between the two arrays
includeJSFooterlibs are rendered in the frontend.
I guess it's worth mentioning that this error was not reproducible with
This issue was mentioned first in Slack by M. Stöckl (https://typo3.slack.com/archives/C025BQLFA/p1529333764000650) and referenced in https://forge.typo3.org/issues/85297?issue_count=66&issue_position=1&next_issue_id=85154#note-6
Updated by Guido Schmechel about 3 years ago
Just a short notice for the patch:
The call runs via PageGenerator->renderContentWithHeader(). The file use $pageRenderer->addJsLibrary() and $pageRenderer->addJsFooterLibrary()
Both calls jump into their PageRenderer function and set the array $this->jsLibs. If the name is te same it will be overwritten.