Validate a node is not in the queue before add it

Created on 8 February 2023, over 1 year 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.69.0 2024