[TYPO3-core] RFC #10971: Fatal error in impexp module: Call to a member function includeLLFile() on a non-object

Rupert Germann rupi at gmx.li
Sun Aug 23 16:40:12 CEST 2009


Hi,

this is a SVN patch request.

Type: Bugfix

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

Branches: Trunk, 4-2, 4-1

Problem:
Fatal error in taskcenter when viewing export presets: Call to a member 
function includeLLFile() on a non-object


Steps to reproduce:
extensions taskcenter and impexp need to be installed.
you need at least one export preset. If there's no preset open the 
export module and create one.
Go to the task center module: Click on "Export Presets" and select one 
of them.


Info:
I digged a bit into this and found that this bug is present in 4.1, 4.2 
and 4.3trunk but not in 4.0 (didn't test earlier versoions)
The bug was introduced with the changed module initialisation (mod.php) 
in rev 1770
http://forge.typo3.org/repositories/revision/typo3v4-core/1770

simply re-adding the missing require() lines does not do the trick 
because then an error occurs when opening impexp via clickmenu or from 
the single-table-view in the listmodule.

Solution:
re-add the missing require() lines to impexp/app/index.php AND also 
change all links pointing to "mod.php?M=xMOD_tximpexp" back to the 
"classic" format which directly calls impexp/app/index.php.

the attached patch is only for trunk. Patches for 4-2 and 4-1 will follow.


greets
rupert


More information about the TYPO3-team-core mailing list