Project

General

Profile

Actions

Bug #53311

closed

t3lib_extMgm::extPath() no longer works in ext_localconf.php

Added by Dmitry Dulepov over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Target version:
Start date:
2013-11-04
Due date:
% Done:

0%

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

Description

Using this function with $_EXTKEY no longer works after the introduction of PackageManager and throws an exception that the current extension is not loaded. Stack trace:

ExtensionManagementUtility::extPath(), 103
ext_localconf_XXX.php, line 1185
SimpleFileBackend->requireOnce(), 362
PhpFrontEnd->requireOnce(), 82
ExtensionManagementUtility::loadExtLocalconf(), 1418
Bootstrap->loadAdditionalConfigurationFromExtensions(), 680
....

Code from the extension multicolumn that causes this:

define('PATH_tx_multicolumn', t3lib_extMgm::extPath('multicolumn'));

This worked always in TYPO3 and many extensions use this to get paths to their internal resources. This must be fixed before the release of 6.2.

Actions

Also available in: Atom PDF