PathautoTest::testPathautoFieldEnhancer fails on core 11.2

Created on 12 August 2025, about 2 months ago

Problem/Motivation

Passes locally for me on 10.5, but it looks like core/modules/path/src/Plugin/Field/FieldType/PathItem.php has some big changes in 11.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

  • Issue created by @joachim
  • 🇬🇧United Kingdom joachim

    I can't figure out what is going on in the flow when a path alias is being saved and processed by the enhancer.

    It looks like the PathItem field item class is seeing a pid for an alias that's been deleted - probably because of how our functional test delete entities before doing a pull to simulate there being two sites.

    This isn't something I have the resources to debug, so I'm disabling the test so it doesn't hold up development.

Production build 0.71.5 2024