Active
Project:
Configuration Management
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
31 Jul 2012 at 16:05 UTC
Updated:
5 Mar 2013 at 14:43 UTC
Users can accidentally or intentionally delete a configuration file without use the UI.
We should define what to do when users click on "Check for new configurations".
There are several alternatives:
Code the solution.
Write tests
Depends of the solution adopted.
@TODO
Comments
Comment #1
dragonwize commentedIf a tracked config gets deleted or removed, by purpose or accident, the tracking of that config should be stopped.
If the config was not being tracked, ie. migrated, nothing happens.
Comment #2
GDrupal commented@dragonwize
Related to this.. what happens if the file gets updated.. perhaps in a scenario where you are keeping the configurations files on a subversion service and you do a revert or something like that. In that case the hash in the config.export file will not match the inc file or the cache... just wondering about that
Comment #3
lucascaro commented@GDrupal if you change the configurations within a file, you can go to admin/config/system/configuration/settings and click on "Check for new configurations" and the changed configurations will be marked as "Datastore Changed" in admin/config/system/configuration (that's how this already works). for other cases, see #1701816: [META] Test all the features of this module
Comment #4
dagmarComment #5
dagmarMarked #1415950: Configuration with the datastore file missing show status as 'in sync' as a duplicated of this issue.
Comment #6
dagmarComment #7
dagmar