Language neutral url aliases are not deleted when deleting the parent entity

Created on 30 November 2018, over 5 years ago
Updated 27 June 2023, 12 months ago

Problem/Motivation

Followup to #2511968: Path field should fall back to language neutral aliases (also makes this happen for the form widget!) β†’

I just realized language neutral aliases are not removed when deleting parent entty.

Proposed resolution

Adjust PathFieldItemList::delete() in order to remove aliases belonging to non-existing entities.

Remaining tasks

Create test
Create patch
Review

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Release notes snippet

πŸ› Bug report
Status

Closed: outdated

Version

9.5

Component
PathΒ  β†’

Last updated 6 days ago

  • Maintained by
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡³πŸ‡΄Norway zaporylie

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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    If still a valid bug please reopen updating issue summary with steps to reproduce per #8

    Thanks!

  • πŸ‡³πŸ‡΄Norway zaporylie

    Interestingly I wasn't able to reproduce this particular bug anymore but when doing some manual testing I managed to end up with 2 aliases created for the same content - with the same path and language. Is that a known bug or should I report it separately and add steps to reproduce?

Production build 0.69.0 2024