Fix Autocomplete Deluxe Widget Not Working for Multiple Entity Reference Field with Mixed New and Existing Terms

Created on 10 May 2019, over 5 years ago
Updated 15 September 2024, 4 months ago

Problem/Motivation

Hello,

Thank you for your wonderful module! I'm glad that I'm using it.

I noticed that the autocomplete deluxe widget doesn't work for multiple entity reference field when you add new terms and some terms are existing. We get this error when editing an node having a entity reference using the autocomplete deluxe widget.

The referenced entity (taxonomy_term: <term name>) does not exist.

Steps to reproduce

Here are the steps to reproduce this issue.

  1. Create a entity reference field (multivalued) on a content type
  2. Add a content for the content type and after adding some terms to the entity reference field, save it
  3. Edit the content and add few more terms to the entity reference field
  4. Try to save the content, you will see the error

I'm trying to provide a patch for this in some time, thanks!

Adi

Proposed resolution

Allow to have Multiple Entity Reference Field with Mixed Existing Terms

Remaining tasks

  • āœ… File an issue
  • āž– Addition/Change/Update/Fix
  • āž– Testing to ensure no regression
  • āž– Automated unit testing coverage
  • āž– Automated functional testing coverage
  • āž– UX/UI designer responsibilities
  • āž– Readability
  • āž– Accessibility
  • āž– Performance
  • āž– Security
  • āž– Documentation
  • āž– Code review by maintainers
  • āž– Full testing and approval
  • āž– Credit contributors
  • āž– Review with the product owner
  • āž– Release notes snippet
  • āŒ Release

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
āœØ Feature request
Status

Closed: won't fix

Version

2.0

Component

Multiple values

Created by

šŸ‡¬šŸ‡§United Kingdom aditya.ghan Cardiff

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024