Silently ignore missing entity references instead of triggering an exception

Created on 17 February 2023, over 1 year ago

Problem/Motivation

When entity references break because of deleted referenced entities, it could be better to not trigger an exception and silently ignore the entity in the decoupled output.

Proposed resolution

Add a configuration checkbox in the module settings to choose whether the formatters break or ignore the entity in the output.

Edit EntityReferenceDecoupledFormatterBase::viewMultivaluedFieldItemList() to ignore InvalidContentException.

✨ Feature request
Status

Fixed

Version

1.5

Component

Code

Created by

πŸ‡«πŸ‡·France Dakwamine

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

Comments & Activities

Production build 0.69.0 2024