StringFormatter does not support entity uri_callback

Created on 14 August 2024, about 1 month ago

Problem/Motivation

Spotted this as the original author of 🐛 StringFormatter always displays links to entity even if the user in context does not have access Needs work and a contributor to [##3386313]. It looks like EntityReferenceLabelFormatter supports entity uri_callback because it does not check whether the entity type or the entity has a canonical link template, but the StringFormatter does, therefore it does not support it.

But uri_callback are scheduled to be removed... so killing them could also fix this problem. See: 📌 [meta] convert ‘uri_callback’ entities param to EntityInterface::uri() method Active

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Field 

Last updated less than a minute ago

Created by

🇭🇺Hungary mxr576 Hungary

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

Comments & Activities

Production build 0.71.5 2024