Project

General

Profile

Actions

Bug #25657

closed

Task Object State Is Not Saved

Added by Jeff Segars almost 14 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Should have
Category:
scheduler
Target version:
-
Start date:
2010-04-29
Due date:
% Done:

0%

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

Description

I've just started using the scheduler in 4.3 for the first time and overall its been a very pleasant experience. There is one area where I'm getting stuck, however.

In my task, I need to track a couple small variables that may change from one run to the next (ie. the last time an update was actually pulled from a remote server with changed data). I expected these would be saved when the task was serialized and available again on the next run, but instead I always have the default values.

This appears to be due to tx_scheduler->executeTask() which runs $task->save() prior to $task->execute. Is this the intended behavior? If so, I guess the best option is to just write my data somewhere else for saving rather than expecting my task to be persistent.

(issue imported from #M14251)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #27552: Update manual for TYPO3 4.6ClosedFrancois Suter2011-06-19

Actions
Actions

Also available in: Atom PDF