Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[generate:entity:content] Clear cache after creating a new bundle. #1511

Closed

Conversation

mnico
Copy link
Contributor

@mnico mnico commented Dec 16, 2015

When I create a new bundle and then I create a new entity with this, an exception appear:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity:name_entity:new_bundle" plugin does not exist

This is because after creating a new bundle, the cache is not cleared.
To fix this we can use ConfigEntityBundleBase.

@jmolivas jmolivas modified the milestone: 0.10.0 Dec 18, 2015
@mnico mnico closed this Dec 19, 2015
@mnico mnico force-pushed the clear-cache-new-bundle-entity branch from 0d05148 to 78680c4 Compare December 19, 2015 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants