Using terms with brackets in their name breaks Autocomplete Deluxe

Created on 28 March 2023, over 1 year ago
Updated 20 May 2024, 6 months ago

Problem/Motivation

When loading a node that has a tag with brackets in its name, and then trying to save it again (using the Autocomplete Deluxe widget on the form) causes a validation error on the node.

Steps to reproduce

  1. Add a term that contains brackets in the name (e.g. cow (moo) ) to a taxonomy term reference field
  2. save the node/content
  3. edit it again
  4. try to save - the save will not validate, error message: "The referenced entity (taxonomy_term: moo) does not exist."

Proposed resolution

There is likely some problem with escaping brackets properly, and the way brackets are used for the term id.
This issue does not occur using the Autocomplete or Autocomplete (Tags style) widgets.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code (miscellaneous)

Created by

πŸ‡¨πŸ‡¦Canada ryrye

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024