Project

General

Profile

Actions

Bug #59657

closed

An extension may have no ext_localconf.php file

Added by Francois Suter over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Extension Manager
Target version:
-
Start date:
2014-06-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

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.

Files

Actions

Also available in: Atom PDF