Exposed term filter is not updated when terms are added, deleted, or rearranged (caching issue?)

Created on 6 August 2017, over 7 years ago
Updated 28 August 2023, over 1 year ago

(I honestly don't know if this belongs in Views, Taxonomy, or Cache...)

If a view has an exposed term filter, the options are not updated when new terms are added to the vocabulary. Similar results when deleting or rearranging terms.

Steps to reproduce:

  1. drush si standard --account-pass=admin -y
  2. Ensure page caching is enabled (eg: remove settings.local.php)
  3. Log in and create a view with a page display (path: /test)
  4. Add a "Has taxonomy term" filter, select the "Tags", "Dropdown", and "Show hierarchy in dropdown" options, click "Apply"
  5. Tick the exposed filter option, click Apply, followed by Save
  6. Navigate to the /test, there no options in the filter dropdown as expected
  7. Navigate to /admin/structure/taxonomy/manage/tags/add and add a new term
  8. Navigate to /test (or refresh the tab, if you still have it up)

The newly added term does not appear. The new term appears after clearing caches.

๐Ÿ› Bug report
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Taxonomyย  โ†’

Last updated 2 days ago

  • Maintained by
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States @xjm
  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom @catch
Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mikeker

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

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.

Production build 0.71.5 2024