[TYPO3-core] RFC #15794: Bug "File -> List shown even though extension not installed

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Dec 1 20:06:34 CET 2010


Jeff Segars schrieb am 01.12.2010 19:47:

>> Haven't investigated why yet, but my module menu is completely gone when
>> uninstalling filelist and applying the patch. If filelist remains
>> installed and the patch is applied, then the module menu functions
>> normally.
>>
>> More details to come :)
> 
> Alright, tracked it down.
> 
> When Filelist is uninstalled, $moduleData['sub'] is not an array and the
> else case from the if statement in the patch is now hit.
> 
> Since $moduleData['sub'] isn't an array, the foreach throws a warning.
> With the right (err, wrong) error handler settings the JSON output for
> the module menu gets blown up :)
> 
> I guess we can handle that by doing an elseif and checking for an array
> rather than just doing an else.
> 
> After that fix, +1 on reading and testing.

Cool, thanks.

Committed attached patch to trunk rev. 9734.

Cheers,
Ernesto
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15794_v4.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101201/14607786/attachment.txt>


More information about the TYPO3-team-core mailing list