Some entity reference fields store additional values. We need to handle its.

Image:
- title
- alt
- width (computed)
- height (computed)

File:
- display
- description

Entity reference revision (for paragraph):
- reference revision

Dynamic entity reference :
- entity type

First, we need the JSON API to output these values, see #2860886: Special fields on entity reference.

Comments

Grimreaper created an issue. See original summary.

  • Grimreaper authored 725571c on 8.x-1.x
    Issue #2865417 by Grimreaper: Add dynamic entity reference field to ess...

  • Grimreaper authored 6ff626e on 8.x-1.x
    Issue #2865417 by Grimreaper: WIP: Handle special entity reference...

  • Grimreaper authored 25d14dc on 8.x-1.x
    Issue #2865417 by Grimreaper: Manage entity reference revision field...
  • Grimreaper authored 3f40652 on 8.x-1.x
    Issue #2865417 by Grimreaper: Fix message if the entity has no label.
    
Grimreaper’s picture

Assigned: Grimreaper » Unassigned
Status: Active » Fixed

Image, file and dynamic entity reference fields are ok with the meta in JSON API.

For entity reference revision fields, as we do not create a new revision automatically, if a new revision has been created on the server site it could lead to a wrong entity revision referenced. So we always target the last revision id of the entity on the client site.

Status: Fixed » Closed (fixed)

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