Project

General

Profile

Actions

Bug #19675

closed

Hardcoded error messages in file-list

Added by Stefano Kowalke over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-12-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The labels 'Parameter Error:' and 'Target was not a directory!' was hardcoded in some files. These files related all to the filelist module.

Solution:
  • removing the hardcoded labels and fetching the new labels from locallang_mod_file_list.xml

(issue imported from #M9886)


Files

v1_9886_paramError (3.97 KB) v1_9886_paramError Administrator Admin, 2008-12-03 23:21
v2_9886_paramError.diff (4.77 KB) v2_9886_paramError.diff Administrator Admin, 2008-12-03 23:26
Actions #1

Updated by Stefano Kowalke over 15 years ago

To see the error you could modifiy the if statement:

if (!$this->target || !$key) {

if ( 1 == 1) {

Actions

Also available in: Atom PDF