Problem/Motivation

It is not possible to reset the cache of options because static instead of drupal_static() used. It is can be usefull to reset this cache in cases when a taxonomy was changed during AJAX call and we need to render a field.

Proposed resolution

Use drupal_static https://api.drupal.org/api/drupal/core%21includes%21bootstrap.inc/functi...

CommentFileSizeAuthor
#2 cshs-use_drupal_static-3221552-2.patch558 bytesw.drupal

Comments

w.drupal created an issue. See original summary.

w.drupal’s picture

Status: Active » Needs review
StatusFileSize
new558 bytes
w.drupal’s picture

Version: 8.x-2.3 » 8.x-2.x-dev
Assigned: w.drupal » Unassigned
br0ken’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev

LGTM

  • BR0kEN committed e2168a0 on 8.x-3.x authored by w.drupal
    Issue #3221552 by w.drupal, BR0kEN: Use `drupal_static()` to cache...

  • BR0kEN committed dfd7efa on 8.x-2.x authored by w.drupal
    Issue #3221552 by w.drupal, BR0kEN: Use `drupal_static()` to cache...
br0ken’s picture

Status: Needs review » Fixed

  • BR0kEN committed d4be765 on 8.x-2.x authored by w.drupal
    Issue #3221552 by w.drupal, BR0kEN: Use `drupal_static()` to cache...

Status: Fixed » Closed (fixed)

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