Project

General

Profile

Actions

Bug #55449

closed

Labels from mod_tools_em.xlf not loaded

Added by Christian Weiske over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Target version:
Start date:
2014-01-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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');
        ...

Files

2014-01-29_typo3_kein_fehler.png (18.6 KB) 2014-01-29_typo3_kein_fehler.png Christian Weiske, 2014-01-30 08:42

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #65205: Error messages not shownClosedNicole Cordes2015-02-20

Actions
Actions

Also available in: Atom PDF