Problem/Motivation

When using, for instance, an Entity Reference select field to Taxonomy terms, the corresponding cache tags needed for clearing the cache when a Taxonomy term changes, are not added.

Steps to reproduce

Make sure the render- and page cache are enabled. Create a webform with a Entity Reference field referencing to a Taxonomy term bundle. Check the webform, when not logged in. Add, remove or change a term. Check the webform again, when not logged in, and see that the Entity Reference field options are not updated.

Proposed resolution

Add the corresponding Cache tags to the element.

Remaining tasks

Add the corresponding Cache tags to the element.

User interface changes

None.

API changes

None?

Data model changes

None.

CommentFileSizeAuthor
#3 3244323_2.patch1.56 KBjmeijer
#2 3244323_1.patch1.6 KBjmeijer

Comments

jmeijer created an issue. See original summary.

jmeijer’s picture

StatusFileSize
new1.6 KB
jmeijer’s picture

StatusFileSize
new1.56 KB
jmeijer’s picture

jrockowitz’s picture

Version: 6.x-dev » 8.x-5.x-dev
Status: Active » Needs review
jrockowitz’s picture

Status: Needs review » Reviewed & tested by the community
jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed

  • jmeijer authored 0943882 on 8.x-5.x
    Issue #3244323 by jmeijer: All entity reference fields should add the...
  • jmeijer authored 0943882 on 8.x-5.x
    Issue #3244323 by jmeijer: All entity reference fields should add the...

  • jmeijer authored 0943882 on 6.x
    Issue #3244323 by jmeijer: All entity reference fields should add the...
  • jmeijer authored 0943882 on 6.x
    Issue #3244323 by jmeijer: All entity reference fields should add the...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.