Page MenuHomePhabricator

jobs from "Generate pages" sit in the job table and are not executed.
Closed, ResolvedPublic

Description

There are actually two problems here:
a) jobs are not run automatically, you have to manually invoke runJobs.php to clear out the job table.
b) some jobs will silently fail - and persist in the job table

I defined a schema [1] using PageSchemas and when I try to "Generate pages" the jobs are sent to the job table, but are not actually completed. When I've used maintenance/runJobs.php to manually clear the job queue, some jobs are executed (namely the properties and templates), but others are not recognized as needing execution. showJobs.php reports 0 jobs.

For jobs that just refuse to execute, I guess I could try to de-serialize the 'params' content from the database to create the form.

Example content from the 'params' field of a form creation job that did not execute:

What I found out is that any form that has a field of type "email" would fail to execute. Changing the schema so that the "Email Address" field was of type "text" worked to allow runJobs.php to execute the job and create the corresponding form.

[1] http://pastebin.com/1FNGaHsW


Version: REL1_22-branch
Severity: normal

Details

Reference
bz60533

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:50 AM
bzimport set Reference to bz60533.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 58719 ***