token for node field reference taxonomy term suddenly and silently stop working

Created on 26 August 2025, 10 days ago

Problem/Motivation

Hi everybody,

I have a site where i use the following pattern on a specific content type : /[node:field_public]/[node:title]
field_public is an entity reference field of taxonomy term which accept multiple values (there is only 2 values available in the vocabulary)

Everything was fine during weeks:
the pattern returns things as :
/term1name/node-title (value 1)
/term2name/node-title (value 2)
/term1name-term2name/node-title (value 1 + value 2)
/node-title (when field_public stays empty)

But suddendly the pattern stop working, pathauto always return an alias (without error) but [node:field_public] is is no longer interpreted when value provided and I only have /[node:title] in the path.

I can use /[node:field_public:0:entity:name]-[node:field_public:1:entity:name]/[node:title] as a workaround.
It works but I don't understand why the first pattern stop working.

There was only content editing on the site. I haven't done updates on concerned modules (or any updates) :
Drupal core : 11.09
Token : 8.x-1.15
Pathauto : 8.x-1.13

I'm wondering if anyone has encountered the same problem or has a clue ?

Thanks in advance

🐛 Bug report
Status

Active

Version

1.15

Component

Code

Created by

🇫🇷France mitsuko

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

Comments & Activities

  • Issue created by @mitsuko
  • 🇫🇷France mitsuko

    Oops sorry !

    I just discovered that the display mode "token" had been activated and the token used in path alias was disabled in this place.
    At the same time... I just understood the purpose of this display mode implemented by the token module and how it is related to path alias generation.

    It's an interesting feature ! Maybe this one should be a little more documented in the readme or in the cookbook.

Production build 0.71.5 2024