Bug #91653

PageRenderer addJsLibrary and addJsFooterLibrary add the same file multiple times

Added by Markus Klein 16 days ago. Updated 16 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
-
Start date:
2020-06-16
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

These two functions contain an invalid (always true) condition before adding the JS to the internal file array.
All other similar functions already hold a correct condition.

I suggest making those API function behave identical - as the current code would suggest already.

History

#1 Updated by Gerrit Code Review 16 days 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/c/Packages/TYPO3.CMS/+/64897

Also available in: Atom PDF