node path_alias does not create revision

Created on 16 November 2022, about 2 years ago
Updated 9 December 2024, 14 days ago

Problem/Motivation

Path aliases should be revisionable entities.
Looking in the path_alias and path_alias_revision tables, updates are just overwriting the old record.

Steps to reproduce

  • Install drupal core 9.4.8
  • create new article node, give it a url alias
  • lookup db record in table 'path_alias_revision'
  • record:
    • id: 1
    • revision_id: 1
    • langode: en
    • path: /node/1
    • alias: /lorem_ipsum
    • status: 1
    • revision_default: 1
  • update same node, change the url alias
  • lookup db record in table 'path_alias_revision'
  • record:
    • id: 1
    • revision_id: 1
    • langode: en
    • path: /node/1
    • alias: /lorem_ipsum_2
    • status: 1
    • revision_default: 1
🐛 Bug report
Status

Active

Version

11.0 🔥

Component

path.module

Created by

🇧🇪Belgium betz

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