[TYPO3-core] RFC #9981: Bug: EM does not test for usage of mod.php-API and spuriously displays an error

Andreas Kundoch Andreas.Kundoch at mehrwert.de
Sun Nov 22 15:37:07 CET 2009


This is a SVN patch request.

Type: Bugfix

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

Branches:
trunk

Problem:
If an extension uses the new module API (as described in 
http://bugs.typo3.org/view.php?id=5278 and implemented) an error is 
displayed on import of an extension since TYPO3_MOD_PATH and BACK_PATH 
are not in the conf.php file but the EM tries to update them and fails.

Solution:
The patch extends the method writeTYPO3_MOD_PATH() to also test for a 
line matching $MCONF['script'] = '_DISPATCH'; If this applies, a simple 
notice is given instead of an error.

Notes:
Should also go in TYPO3_4-2 but code is different there, i'll see if I 
can provide another patch for that branch.

Regards,
Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 9981.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091122/fd9bb6f0/attachment.txt>


More information about the TYPO3-team-core mailing list