Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pjcdawkins created an issue. See original summary.

pjcdawkins’s picture

Status: Active » Needs review
FileSize
5.3 KB

First attempt. Patch co-authored with @kazanir.

pjcdawkins’s picture

Adds rules_scheduler_delete_tasks() which can delete queued Advanced Queue tasks,

Status: Needs review » Needs work

The last submitted patch, 3: rules_scheduler-advancedqueue-2650398-3.patch, failed testing. View results

TR’s picture

Status: Needs work » Needs review
FileSize
6.48 KB

Re-rolled #3 against current HEAD.

TR’s picture

Issue tags: +Needs tests

I haven't tested the patch, but I can tell you that "recommends[]" is not a thing - it needs to be removed.

Since we have tests for rules_scheduler using the default core queue, I think we should also have a parallel set of tests which use Advanced Queue instead. This can be done by adding Advanced Queue as a test_dependency[].

Status: Needs review » Needs work

The last submitted patch, 5: 2650398-5-scheduler-advancedqueue.patch, failed testing. View results

TR’s picture

Sorry, got my patches mixed up. Here's the correct re-roll:

TR’s picture

Also, what needs to be done to clean up tasks in Advanced Queue when Rules Scheduler is uninstalled? See #2882504: Rules scheduler tasks are left in the queue table for how it's being handled with the Drupal core queue...

TR’s picture

Status: Needs review » Needs work

Needs to be re-rolled again against HEAD to fix the fuzz. But #6 and #9 need to be addressed too, so moving this to "Needs work".

If you would like to see this feature put into Rules, please work on the patch.

TR’s picture

Version: 7.x-2.x-dev » 8.x-3.x-dev
Status: Needs work » Postponed

There doesn't seem to be any interest in getting this in to D7 Rules. I am moving it to D8 and postponing it. The maintainers of Rules do not intend to work on this, so if this is something you want to see implemented then please supply a patch and address the outstanding questions.

ZenDoodles’s picture

Rerolled to apply against 7.x-2.x, and removed the "recommends" bit.