Can't reinstall configuration for pathauto_update_alias_user and pathauto_update_alias_node

Created on 26 July 2024, about 1 month ago
Updated 9 August 2024, 29 days ago

Problem/Motivation

I'm currently working on a recipe that creates an Event content type, and defines a pathauto pattern for it. A core principle for recipes is idempotency, the idea that it should be possible to reapply them without errors.

If I try to reapply the recipe, it fails with errors like:
The configuration 'system.action.pathauto_update_alias_node' exists already and does not match the recipe's configuration

Steps to reproduce

On a fresh install of Drupal 11, apply the Events recipe β†’ . Then, apply it again.

Proposed resolution

The issue is caused by a missing configuration: { } declaration in system.action.pathauto_update_alias_node.yml and system.action.pathauto_update_alias_user.yml

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada mandclu

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024