Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
JobScheduler.inc_.patch | 671 bytes | sebyoga | |
Comments
Comment #1
twistor CreditAttribution: twistor as a volunteer commented#1423422: Data is not unserialized