Cannot use Token source in Layout Builder

Created on 1 June 2025, 1 day ago

Problem/Motivation

When configuring a view display of a content type using Layout Builder, I am trying to use a token as a prop URL source so I can use an anchor, like: [node:url:relative]#inscription

But I got the following error The "node" entity cannot have a URI as it does not have an ID

Strangely it worked for a taxonomy term view mode a month ago.

Here are some screenshots.

I wonder if possible to disable preview value generation because I guess it is due to Layout Builder fake preview data/entity.

I will try to workaround the issue.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024