Bug #25618
closedThe script tried to execute a method or access a property of an incomplete object
0%
Description
Hi,
I did some tests with the scheduler and wrote 2 custom extensions, registered a class, created a task for it and deactivated the extensions in extension manager.
now scheduler won't work anymore! complete error is
--------
Fatal error: tx_scheduler_Module::listTasks() [<a href='tx-scheduler-module.listtasks'>tx-scheduler-module.listtasks</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "tx_check4exts_server" of the object you are trying to operate on was loaded before unserialize() gets called or provide a __autoload() function to load the class definition in /html/typo3/sysext/scheduler/mod1/index.php on line 889
--------
if I delete the tasks and deactivate the extension afterwards, everything is fine but IMO this needs to be fixed!
(issue imported from #M12132)
Updated by Francois Suter about 15 years ago
You're right, the scheduler should check if the class is indeed available, as is done in other parts.
What do you think should happen: should the task be automatically deleted or should it appear in the list with an error message?
Updated by Georg Ringer about 15 years ago
should be in the list still with a special error "extension / class not available"
it is like an extension which creates a table. this and all records are sill in the database (with deleted=0) if the ext is not installed anymore. or maybe to be consistent to this behaviour, just don't show the task?
don't know really :/
Updated by Francois Suter about 15 years ago
Committed v3 to trunk in revision 6157
Updated by Michael Stucki almost 11 years ago
- Project changed from 739 to TYPO3 Core
- Category changed from scheduler to scheduler
- Target version deleted (
0)