UUID is regenerated every time a pattern is saved

Created on 19 July 2017, almost 7 years ago
Updated 19 June 2024, 9 days ago

I'm seeing what feels like an oddity around UUIDs for pathauto pattern configurations, resulting in complexity around our config/code versioning workflow.

Repeatability

Every time a pattern is saved.

Steps to reproduce:

  1. Create a pathauto pattern
  2. Export configuration (drush config-export or via GUI)
  3. "Edit" the pattern and save, with or without changes
  4. Export configuration again

Expected result

UUID visible in the export steps remains consistent.

Actual result

The UUID is different, and is regenerated each time the pattern is saved.

Notes

This may be expected behaviour but it's causing us some workflow and config sync issues. (Although once we've stabilised our patterns it won't be an ongoing problem.)

We've been working around it in the meantime by generating UUIDs in production and manually replacing them in our local code before committing, but I'm worried this may have unintended consequences.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jrsouth

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

Merge Requests

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.69.0 2024