Problem/Motivation

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".

Proposed resolution

There are several alternatives:

  1. Stop tracking the configuration.
  2. Mark the configuration as overriden.
  3. Create an special status for this configurations and let the user choose.
  4. Create an UI that allows to choose what to do with each configuration.
  5. Other?.

Remaining tasks

Code the solution.
Write tests

User interface changes

Depends of the solution adopted.

API changes

@TODO

Comments

dragonwize’s picture

If 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.

GDrupal’s picture

@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

lucascaro’s picture

@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

dagmar’s picture

Assigned: Unassigned » dagmar
dagmar’s picture

dagmar’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
dagmar’s picture

Category: bug » task