Feature #83338

Move scheduler tasks from serialized data to JSON

Added by Stefan Neufeind almost 3 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2017-12-15
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

Serializing is not clean at all and can potentially have security-implications. If we just want to store data we should use JSON for that. It would also make accessing/reading/... that data manually or by other scripts easier.
As a migration-path let's create new columns for the json-data then and create a migration-script.


Related issues

Related to TYPO3 Core - Task #84717: Reconsider serialized array for Linkvalidator Closed 2019-12-13
Related to TYPO3 Core - Bug #55548: Scheduler: Invalid task uid after Database duplication Rejected 2014-02-01
Related to TYPO3 Core - Feature #4387: Provide a way to automatically install / set up a task upon installation of an extension New 2009-08-28

History

#1 Updated by Stephan GroƟberndt almost 3 years ago

  • Subject changed from Move from tasks from serialized data to JSON to Move scheduler tasks from serialized data to JSON

#2 Updated by Susanne Moog over 2 years ago

  • Related to Task #84717: Reconsider serialized array for Linkvalidator added

#3 Updated by Dan Untenzu about 2 years ago

This feature would also solve the issue, that it is not possible to migrate scheduler task with plain SQL commands -> see #55548

#4 Updated by Dan Untenzu about 2 years ago

  • Related to Bug #55548: Scheduler: Invalid task uid after Database duplication added

#5 Updated by Susanne Moog 8 months ago

  • Tracker changed from Task to Feature

#6 Updated by Georg Ringer 8 months ago

  • Related to Feature #4387: Provide a way to automatically install / set up a task upon installation of an extension added

#7 Updated by Georg Ringer 7 months ago

  • Status changed from New to Closed

I am closing this issue in favor of #4387. json can't be used in that case because the whole class is getting serialized to be waken up again.

This all needs a rewrite of scheduler extension which should be done with version 11. However you can already use https://github.com/helhum/typo3-crontab which works fine in 9

Also available in: Atom PDF