Problem/Motivation

Cron job to publish on a defined schedule specific nodes retrieved by a view now returns this error: 'The "node_publish_action" plugin does not exist'.

The cron script looks like this: drush vbo-exec [view_name] node_publish_action

This is Drupal 9.3.3, VBO 3.1.3, drush 10.6.2

This view with the VBO in it is working via the gui, just not when invoked by drush.

It is working via drush in Drupal 8.9.19, VBO 3.1.3, drush 10.6.1
The cron script there is this: drush vbo-exec [view_name] node_publish_action --user=1

I removed the --user= option for Drupal 9 as it throws the error: "--user option does not exist"

Has the syntax for the node_publish_action changed for D9? Is there something else that needs to be enabled? Both the core Actions module and the VBO Actions Permissions modules are in place. The node publish action permissions are set to "authenticated user".

I apologize if I'm making mistakes in the preferred posting method. I'm not a developer and it's a bit foreign to me. I originally added this request to an earlier version of the same problem at https://www.drupal.org/project/views_bulk_operations/issues/3207450 but have had no response so thought I may have done things wrong.

This is fairly critical for our site. Thanks for your help.

Bobb Menk

Comments

bmenk created an issue. See original summary.

graber’s picture

I have other more urgent issues currently, maybe you could find some developer to help with this? Doesn't look very complicated.

  • Graber committed eac831f on 4.0.x
    Issue #3265074: Add additional information for module Drush commands.
    
graber’s picture

Version: 8.x-3.13 » 4.0.x-dev
Status: Active » Fixed

entity:publish_action:node

graber’s picture

Version: 4.0.x-dev » 4.1.x-dev

Please also see 4.1.0 release notes, update and run drush vbo-list

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.