Problem/Motivation

I had a view built using facets, and I duplicated it using the UI in Views.

The new duplicate view was crashing here:

> return $this->getFacetSource()->getDataDefinition($this->field_identifier);

because the $facet_source_plugin_manager didn't have a definition for the facet source ID.

A `drush cr` fixed the problem, so it looks like a plugin cache should be getting cleared when a view is duplicated, but isn't.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork facets-3589938

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joachim created an issue. See original summary.

dkmishra made their first commit to this issue’s fork.

dkmishra’s picture

Status: Active » Needs review
joachim’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

joelpittet made their first commit to this issue’s fork.

  • joelpittet committed b461480d on 3.0.x authored by dkmishra
    fix: #3589938 a duplicated view is broken until caches are cleared
    
    By:...
joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

Thank you both I merged it in for the next patch release!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.