- ๐ฆ๐บAustralia pameeela
Closing this now for lack of relevant updates in 2+ years. If this is still occurring in a supported version of Drupal, please create a new issue with details.
After we install any module, changes in configuration is getting lost and it is reverting to old state (existing in custom module)
1. Install drupal core 8.8.10
2. Install languages and all language related modules like interface translation, etc.
3. Install metatags module.
4. Create a custom module and add metatag.metatag_defaults.node__article.yml in config/install -
langcode: en
status: true
dependencies: { }
id: node__article
label: 'Content: Article'
tags:
title: '[node:title] | health test arabic info & tips | [site:name]'
description: '[node:title] | health info & tips | [site:name] description'
5. Enable the custom module.
6. Now, change configuration of metatag manually from admin page - admin/config/search/metatag/node__article
7. Set interface translation to English.
\Drupal::configFactory()->getEditable('locale.settings')->set('translate_english', 1)->save();
8. Enable any module for example- devel and we find that change made in step 6 is lost and we see the old state which got added from custom module in step 4.
Looks like the issue seems to happen in locale_config_batch_refresh_name function where we call updateConfigTranslations() which checks if locale_is_translatable($langcode), then merges old config with new config changes and eventually remove the new changes.
Closed: cannot reproduce
9.5
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing this now for lack of relevant updates in 2+ years. If this is still occurring in a supported version of Drupal, please create a new issue with details.