Exporting configuration through the UI exports all configuration, not just the overlay

Created on 17 June 2020, over 4 years ago
Updated 1 November 2023, 11 months ago

I'm not sure if there's something obvious I'm doing wrong, but it doesn't seem like this module is working for us.

<!--break-->

Here's what I'm doing:

  1. Fresh install of our distribution (without Config Overlay installed).
  2. Export configuration from /admin/config/development/configuration/full/export.
  3. Enable Config Export.
  4. Export configuration from /admin/config/development/configuration/full/export again.
  5. Compare the contents of the export.

In both cases, I get 331 config files, including many that are provided by modules in our distribution. It does not seem like Config Overlay is detecting that these configs match what's been provided by the distribution.

For the purposes of simplifying the repro steps, "Config Filter", "Config Overlay", and "Configuration Manager" are the only configuration-related modules we have enabled. Normally, our profile would also be using "Config Rewrite" but regardless of whether or not it is installed, the result is the same (except, of course, that the 331 config files exported include the updates applied by Config Rewrite). We are not using Features, though our profile's modules are structured similarly to how Features would export them.

I'm on Drupal 8.9.0 with PHP 7.2.3 running on nginx/1.16.1 (Pantheon). Our profile is laid out like this (confidential info redacted):

Any issues with this file layout? Any additional modules or configuration we need to setup in order for Config Overlay to only export configuration that does not match what's in the install profile/distribution? Our distribution does not include any UUIDs in the config that ships with each module -- would that cause Config Overlay to think that the config on the site differs from the module config, or does it ignore the UUIDs when doing the comparison?

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States GuyPaddock

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024