Closed (cannot reproduce)
Project:
JSON:API
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
10 Dec 2018 at 11:10 UTC
Updated:
26 Dec 2018 at 15:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
npralhad commentedPushed the patch. Is based on https://www.drupal.org/files/issues/2018-06-07/skip-entity-null_2848419_...
Comment #3
wim leersThis sounds like it's exactly the same as #3014380: EntityReference base fields that are optional are not empty, but its sole item is empty, causing EntityReferenceFieldNormalizer to fail.
Can you please confirm that in your case, you're also using an optional entity reference base field? Please apply either the patch there or update to
8.x-2.xHEAD.Comment #4
wim leersLinking the issue mentioned in the original report.
Comment #5
wim leersComment #6
wim leersThis still needs steps to reproduce.
BTW, it's not cool to cross-post a patch from here to #3014380-35: EntityReference base fields that are optional are not empty, but its sole item is empty, causing EntityReferenceFieldNormalizer to fail without explaining why, especially since that issue is already fixed.
Comment #7
wim leersClosing because >2 weeks without providing steps to reproduce. Feel free to reopen when you have steps to reproduce!