Hello,

I have found a bug, or not, I don't know, explain me the use of the data value if not a bug...

If you set a data value on the job array, the line in the BDD is been serialized.

But, when you use a periodic job, after one execution, the data is serialized(serialized()) in the BDD.

== Juste create Job data in bdd ==
a:1:{s:9:"file_name";s:17:"XXXX";}

== After one execution data in bdd ==
s:67:"a:1:{s:9:"file_name";s:37:"XXXX";}";

== After two execution data in bdd ==
s:75:"s:67:"a:1:{s:9:"file_name";s:37:"XXXX";}";";

I have created a patch if you want in this issue.

Best regards,

Sébastien

CommentFileSizeAuthor
JobScheduler.inc_.patch671 bytessebyoga
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

twistor’s picture

Assigned: sebyoga » Unassigned
Status: Active » Closed (duplicate)