ssue with Adding Multiple Terms via Media Library and Inline Entity Form

Created on 20 November 2024, 14 days ago

Problem/Motivation

in a complex setup involving Media Library and Inline Entity Form, I am encountering an issue when adding multiple items to a field.

Specifically, I have a field referencing a taxonomy vocabulary with a multiple-choice option with inline entity form complex, allowing either the selection of existing terms or the creation of new ones. However, when I insert an item through the integrated Media Library, only the first term gets saved, even if I add or create multiple terms (e.g., two terms).

This behavior seems to prevent proper handling of multiple terms in this specific context.

Steps to reproduce

Steps to Reproduce the Issue

  1. Configure the Media Entity
    • Create a media entity M.
    • Add a field T to the media entity M, with a taxonomy term reference field allowing multiple values.
    • Edit the display settings for field T, enabling Inline Entity Form - Complex, with the option to add new terms or select existing ones.
  2. Set Up the Paragraph
    • Create a paragraph type P with a field referencing the media entity M.
    • Set the display mode of this field to use the Media Library.
  3. Create and Test in a Node
    • Create a node N and add a paragraph of type P referencing media entity M.
🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇫🇷France naim belkaied

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

Comments & Activities

Production build 0.71.5 2024