Wrong text when entity is layout builder revision

Created on 9 November 2020, about 4 years ago
Updated 15 May 2023, over 1 year ago

Problem/Motivation

When I add an item to a custom block in Layout builder I see that it's used in "Default" when I look at the usages for the referenced entity, but when I remove the block with the reference in Layout builder I still see "Default" instead of "Translations or previous revisions".

Steps to reproduce

* Create a custom block type which can be placed in layout builder and reference something
* Add the settings needed in entity_usage so you can track the usage of the referenced entity through a custom block layout builder
* Add the block to layout builder and see that the usage is tracked
* Remove the block and see that the usage is still shown as "Default"

Proposed resolution

Check if the reference is used in the default revision of the source entity.

πŸ› Bug report
Status

Needs review

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden emek

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.

Production build 0.71.5 2024