Closed (works as designed)
Project:
Drupal core
Version:
8.0.5
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Mar 2016 at 03:06 UTC
Updated:
31 Mar 2016 at 00:04 UTC
Jump to comment: Most recent
Comments
Comment #2
mkudenko commentedOk, I figured out what the actual issue was. It has nothing to do with taxonomy.
My setup is as follows:
After I enabled Views and Views UI, and then ran
drush config-export, not all of the Views configurations were exported to my configuration folder.Original Views config is here:
/core/modules/views/config/install/views.settings.ymlExported configuration included only the
uisection. The error was occuring because theFieldPluginBase->getElements()required thefield_rewrite_elementsconfiguration.The workaround was to copy the entire
views.settings.ymlfile into my configuration folder and to rundrush config-import.Comment #3
mkudenko commentedComment #4
dawehnerOH, you ran
drush config-exportand it didn't exported every view? How is that even possible.Comment #5
alexpottI've repeated the steps described in #2.
Installed minimal
Exported configuration using drush cex
Installed views_ui and views
Exported configuration using drush cex
The final drush cex made the following output:
Which is exactly what I would expect.
And after doing this -
Produces a diff of:
Which again is exactly what I would expect.
Comment #6
mkudenko commentedThanks for your help.
Turns out I didn't enable Views and ViewsUI correctly. At the time I was playing with configurations and manually added those modules to
core.extension.ymljust to see how that works. That enabled the modules but didn't copy the views configs.