Taxonomy autocomplete shows "Array" after settings are saved

Created on 2 March 2021, over 3 years ago
Updated 6 August 2024, 3 months ago

Steps to reproduce

  • Configure a view to filter on a taxonomy term, and configure its exposed widget to use an autocomplete.
  • Configure a Views Reference Field to reference that view and allow use of the exposed filters.
  • Create content that references the view in question and select a taxonomy term using the autocomplete
  • Save the content. Note that the term you referenced is, correctly, used as the basis for filtering your view.
  • Edit the content, note that the configuration for the exposed filter now shows "Array", and attempting to save the content will throw an error "There are no entities matching "Array"."

Proposed resolution

The problem here is down to the degree to which the form generation has divorced itself from the normal views exposed form generation process. Modules add process callbacks and the form goes through a lifecycle that manipulates the values and content in ways that the current code does not replicate. I've attempted to refactor this to get us closer to a solution that replicates what Views does when generating this form.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇺🇸United States azinck

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