Configuration isn't imported with config-import

Created on 12 October 2016, almost 9 years ago
Updated 9 June 2025, 4 months ago

If I activate Simple sitemap for a content type and do a drush config-export and drush config-import, the settings are not transfered, and Simple sitemap not enabled for the content type.

To recreate: Go to Content types > Article > Menu settings > Simple XML sitemapExcluded from sitemap and enable and save:

  Do not index entities of this type
x Index entities of this type

Content of simple_sitemap.settings.yml:

custom:
  -
    path: /
    priority: !!float 1
entity_types:
  node:
    article:
      index: 1
      priority: 0.5
  taxonomy_term: {  }
  menu_link_content: {  }
settings:
  max_links: 2000
  cron_generate: true
  remove_duplicates: true
  skip_untranslated: false
  batch_process_limit: 1500
_core:
  default_config_hash: Gzm-Hm6hFi622JTbULwDXMxPi33rj_mF0pi1ggq6sFQ

On import it says:
simple_sitemap.settings create

Yet, if I go to Content types > Article > Menu settings > Simple XML sitemapExcluded from sitemap it says:

x Do not index entities of this type
   Index entities of this type 
💬 Support request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇩🇰Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
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.

  • 🇩🇰Denmark ressa Copenhagen

    Just confirming, here many years later, that this is no longer an issue, and configuration works perfectly. Thanks @gbyte!

Production build 0.71.5 2024