"Update URL Alias" action is only available for nodes + users and does not work with views_bulk_operations

Created on 19 March 2021, over 3 years ago
Updated 5 September 2024, 2 months ago

Problem/Motivation

The "Update URL Alias" action does not have an entity type specified, which causes it not to work with views bulk operations. In addition, default config is only provided for nodes and users.

Steps to reproduce

  • Create a site and install pathauto and views_bulk_operations
  • Create a view of taxonomy terms and add the "Views Bulk Operations" field
  • The "Update URL Alias" action is not listed

Proposed resolution

Update Drupal\pathauto\Plugin\Action\UpdateAction to use a Deriver to create actions for all entity types enabled for pathauto. cf: Add generic entity actions β†’

I'll be posting a patch shortly.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States acrollet

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024