[TYPO3-core] RFC #16495: bug: conf.php files aren't corrected when installing extensions

Jigal van Hemert jigal at xs4all.nl
Sun Nov 21 15:49:16 CET 2010


Hi,

This is a SVN patch request.

Type: Bugfix

BT reference: http://bugs.typo3.org/view.php?id=16495

Branches: trunk

Problem:
When an extension with a BE module is installed the constant 
TYPO3_MOD_PATH and the variable $BACK_PATH aren't modified to reflect 
the location where the extension is installed.

Solution:
During refactoring of the EM tx_em_Tools::writeTYPO3_MOD_PATH() is now 
statically called. Because it needs data from the parent class of the 
object which calls this function two parameters were added to send the 
necessary path information to the function.

How to test:
Install an extension with one or more BE modules (e.g. direct_mail) and 
check the conf.php of each module. The extension doesn't need to be 
installed completely, just until the message appears that the paths in 
the various modules have been modified.

Without the patch the paths are incorrect, with the patch the path 
reflect the location where the extension is installed.

Notes:
Because EM is being rewritten/refactored this may be a temporary fix, 
but at least it makes it possible to install extensions.

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16495.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101121/4b379880/attachment.txt>


More information about the TYPO3-team-core mailing list