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.

CommentFileSizeAuthor
#2 decoupled_toolbox-3342735.patch6.82 KBdakwamine

Comments

Dakwamine created an issue. See original summary.

dakwamine’s picture

StatusFileSize
new6.82 KB

  • Dakwamine authored bfc82bb9 on 1.5.x
    Issue #3342735 by Dakwamine: Silently ignore missing entity references...
dakwamine’s picture

Version: 1.5.1-rc9 » 1.5.1-rc10
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.