[ERROR] 0 is not a valid node id.

Created on 30 August 2024, 7 months ago

Problem/Motivation

drush nrd:delete-prior-revisions ==> [ERROR] 0 is not a valid node id.

Steps to reproduce

drush node-revision-delete:queue

Created 15 queue items for content-type: Slick Karussel (Machine Name).
Created 0 queue items for content-type: article.
Created 5 queue items for content-type: flexslider_example.
Created 32 queue items for content-type: page.

drush nrd:delete-prior-revisions

[ERROR] 0 is not a valid node id.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

2.0

Component

Drush commands

Created by

🇩🇪Germany tarvis

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

Comments & Activities

  • Issue created by @tarvis
  • 🇪🇸Spain rcodina Barcelona

    The first drush command fills the queue. In order to process it, just execute Drupal's cron: drush cron.

    On the other hand, the second drush command expects two parameters (nid and vid) to delete all revisions prior to given revision of given node. So it does not process the queue.

Production build 0.71.5 2024