Failing assert in EntityViewDisplayWeight rule

Created on 8 May 2025, about 12 hours ago

Problem/Motivation

When configuring the EntityViewDisplayWeight rule I noticed a failing AJAX call after selecting the entity type and bundle. It seems to fail while loading the available fields.

Steps to reproduce

  1. Create a new rule of type: "Display mode field order".
  2. Select an entity type and bundle.
  3. The AJAX call fails with an assert error in the log

Proposed resolution

Fix the assert so it asserts the proper interface. It seems like it now looks for a FieldStorageConfigInterface while it should be FieldConfigInterface.

Remaining tasks

Fix up the assert.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Needs work

Component

Code

Created by

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