Validate a node is not in the queue before add it

Created on 8 February 2023, almost 2 years ago

Problem/Motivation

Each time you select the option "Queue all content to delete revisions in the background" in the admin form all the nodes with valid conditions are added to the queue. This means you can have more than one time the same nid in the queue.

Steps to reproduce

Go to the admin form and select the option "Queue all content to delete revisions in the background" and then save the form.
Do the same more than one time, each time you do it the same nodes are added again to the queue.

Proposed resolution

Check if a node is in the queue before added it.

Remaining tasks

Create the patch.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇦Canada adriancid Montreal, Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024