[TYPO3-core] RFC: #9886: Hardcoded error messages (Parameter Error:) in some files related to file list module

Stefano Kowalke blueduck at gmx.net
Thu Dec 4 20:47:08 CET 2008


Hello

This is an SVN patch request.

Type: Bugfix, Hardcoded

Bugtracker references:
http://bugs.typo3.org/view.php?id=9886

Branches:
Trunk

Problem:
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

Notice:
To see the error you could modifiy the if statement:

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

if ( 1 == 1) { 

Cheers
Stefano
-- 
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2_9886_paramError.diff
Type: text/x-diff
Size: 4890 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081204/c8005fe6/attachment.diff 


More information about the TYPO3-team-core mailing list