Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration system
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
16 Jan 2013 at 00:44 UTC
Updated:
29 Jul 2014 at 21:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alexpottHere's a patch that adds a test to ensure manifests are written for config entities and removes the unnecessary code - which was made unnecessary due to #1806178: Remove code duplication for hook_config_import_*() implementations of config entities.
Comment #2
gddI think we always want to have a manifest file even when it is empty, and right now there will be no manifest if a module is installed with no default config entities out of the box. So I'd like to see an empty manifest file created in config_install_default_config() for consistency's sake. Otherwise this is a great changed, that original code was pretty ugly, I'm glad to see it go.
Comment #3
alexpottNew patch that ensures an empty manifest is created for each config entity whether or not a default config entity is provided. Tests added for this too.
Comment #4
alexpottActually we want to create empty manifest files even if the module has no config directory!
Comment #6
alexpott#4: 1889752.4.drupal8.manifest.patch queued for re-testing.
Comment #7
alexpottGot a fatal php error in testRegression_310447() - nought to do with this change - so requested retest.
Comment #9
alexpottoh wow! the fatal is caused by this patch ...
So when installing the 'database_test' module simpletest thinks it's got node installed but actually it hasn't... funnily enough this test does not even need node installed.
Comment #10
alexpott#9: 1889752.9.drupal8.manifest.patch queued for re-testing.
Comment #11
sunThanks!
Comment #12
webchickCommitted and pushed to 8.x. Thanks!