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

Oliver Hader oliver at typo3.org
Wed Nov 25 09:48:00 CET 2009


Hi Andreas,

Andreas Kundoch schrieb:
> 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.

+1 by reading and testing

Some more CGL issues have been changed and renamed "flag_S" to
"flag_Dispatch". I'm going to take care of the commit in a few minutes.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list