Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292435

Filter formats should not save plugin data when the plugin configuration matches defaults

$
0
0

In the code we have the following comment

  public function preSave(EntityStorageInterface $storage) {
    // Ensure the filters have been sorted before saving.
    $this->filters()->sort();
    parent::preSave($storage);
    $this->name = trim($this->label());
    // @todo Do not save disabled filters whose properties are identical to
    //   all default properties.
  }

This causing problems for #2144263: Decouple entity field storage from configurable fields since its changes allow ConfigImportAllTest uninstall the filter module which then causes a discrepancy between staging and active after import.


Viewing all articles
Browse latest Browse all 292435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>