Issue Task Rejected

#66390Conflicting "use" namespace in extension extLocalconf.php and extTables.php breaks cache

Sven Flesch 04/13/15, 11:56 updated 07/30/15, 15:05

Description

Using shortened namespaces with “use” in the files extLocalconf.php and extTables.php for an extension breaks the cache. These files are concatenated which might lead to multiple “uses” of the same namespace.

Classic example would be “TYPO3\CMS\Core\Utility\ExtensionManagementUtility”.

Solution would be to parse for “use” statements during concatenation, store them in an array, remove them from the code, remove duplicates from the array and then add the whole of it back to the top of the concatenated file.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.