Project

General

Profile

Actions

Bug #25618

closed

The script tried to execute a method or access a property of an incomplete object

Added by Georg Ringer over 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Category:
scheduler
Target version:
-
Start date:
2009-10-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Francois Suter over 14 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?

Actions #2

Updated by Georg Ringer over 14 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 :/

Actions #3

Updated by Francois Suter over 14 years ago

Committed v3 to trunk in revision 6157

Actions #4

Updated by Michael Stucki over 10 years ago

  • Category set to scheduler
Actions #5

Updated by Michael Stucki over 10 years ago

  • Project changed from 739 to TYPO3 Core
  • Category changed from scheduler to scheduler
  • Target version deleted (0)
Actions

Also available in: Atom PDF