Project

General

Profile

Actions

Bug #70252

closed

function module uses wrong path to language file

Added by Franz Holzinger about 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2015-10-01
Due date:
% Done:

0%

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

Description

I have found a bug which happens on some websites. The function module uses the Reflection class to determine the path. However this fails because the path is determined as "/html/typo3/typo3conf/ext/tt_products/modfunc3/class.tx_ttproducts_modfunc3.php". This is wrong. The path should have been "/home/www/user123456789/html/typo3/typo3conf/ext/tt_products/modfunc3".

The path has already been given correctly as a parameter $conf in the init. However the wrong path is used. This leads to missing labels in all languages.


Files

bug-function-module-wrong-path.diff (911 Bytes) bug-function-module-wrong-path.diff Franz Holzinger, 2015-10-01 09:59
Actions #1

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Needs Feedback

IMO this can't happen. And if this happens the core throws an exception after checking if the path is a directory.
Also the dirname returns the directory correctly without filename.

Please provide more information how to reproduce this.

Actions #2

Updated by Alexander Opitz about 8 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF