Remove button broken nested inside an IEF widget

Created on 17 July 2019, over 5 years ago
Updated 30 May 2024, 6 months ago

The commit 8e0be71 is supposed to solve the issue of the entity browser remove button weirdness. However, when there are more than one entity reference field and at least one is inside an IEF, entity browser is still confused.

To reproduce

Create 3 entity bundles, Parent, Child, Grandchild.

Parent has an entity reference field to Child. Use an IEF complex widget.

Child has an entity reference field to Grandchild, and a media reference field. Use an entity browser widget for both.

Create a new Parent with a Child and a Grandchild. Save.

Edit the Parent, Child, remove Grandchild. Don't save.

Attempting to launch the entity browser to add a new Grandchild it actually launches the media entity browser.

I've tested all kinds of variations of fields and configurations, and got a bunch of weird results, like triggering IEF fields ( which don't particularly like the entity browser settings ).

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Field widget

Created by

πŸ‡ΊπŸ‡ΈUnited States scottsawyer Atlanta

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡·Costa Rica esolano

    The patch mentioned in #17 breaks the Remove button of image fields using the Entity Browser + Image Browser, on a content type.
    Patch #6 fixes the original issue for me; without affecting regular image fields.

Production build 0.71.5 2024