Issue Bug Closed

#59657An extension may have no ext_localconf.php file

Francois Suter 06/18/14, 20:33 updated 10/02/18, 11:54

Description

Having an ext_localconf.php file in an extension is very common, but is not required. For example, extension “kb_tv_cont_slide” has none. This breaks the Core in several places, whenever ExtensionManagementUtility::loadSingleExtLocalconfFiles() is called. This happens in particular when trying to call up a TYPO3 install (either FE or BE) whose cache has been entirely flushed, or whenever performing actions on extensions in the EM (install, uninstall, update).

A simple check for the file’s existence solves the issue.

How to reproduce:

  • install extension “kb_tv_cont_slide”
  • try updating, installing or uninstalling another extension. Although the operation succeeds, an error thrown because of the missing ext_localconf.php file.
  • alternatively, flush the whole cache and try to access the FE or the BE.

Reviews 1