Issue Bug Closed

#55449Labels from mod_tools_em.xlf not loaded

Christian Weiske 01/30/14, 08:42 updated 10/19/17, 21:00

Description

The extension manager still uses labels from sysext/lang/locallang_mod_tools_em.xlf – e.g. clearMakeExtDir_could_not_create_dir in Utility/FileHandlingUtility.

This file does not get loaded, though. The result is that, when a directory cannot be created, an empty message is shown instead of a proper error message.

Screenshot attached; it’s during the installation of extensionbuilder when no /uploads/ directory exists.

This happens with typo3 git master, f417d291268f6cb3e50e08b12650b4ffb97d62bf.

A solution is to load the file in ActionController.php:

    protected function toggleExtensionInstallationStateAction($extension) {
    $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_mod_tools_em.xlf');
        ...

Reviews 1