Wrong default element name for new non-default CE display

Created on 23 May 2024, 7 months ago
Updated 6 September 2024, 4 months ago

Problem/Motivation

Steps to reproduce

For entity types whose CE displays include the view mode (like media),

* add non-default CE display in the UI (by e.g. checking "Full content")

* go to respective CE display

* see that the name is ....-default instead of ...-full

Proposed resolution

      $custom_element = $this->ceGenerator->getViewModeDefaults($this->targetEntityType, $this->bundle, $this->originalMode);

Change originalMode to actual view mode. Then test.

(Easy. I'm only opening a new issue because I believe we prefer having all fixes in the release notes...)

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇳🇱Netherlands roderik Amsterdam,NL / Budapest,HU

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