Unable to update some configuration

Created on 2 February 2018, almost 7 years ago
Updated 22 January 2024, 12 months ago

Hi,

I'm working hard with configuration system and i encounter some difficulties.

I have already post an issue ( https://www.drupal.org/project/drupal/issues/2938658 β†’ ) on a SQL error when updating config on existing language but I have found other cases :
- roles and permissions : Uncaught PHP Exception Drupal\\Core\\Entity\\EntityStorageException: "'user_role' entity with ID 'authenticated' already exists." at /data/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php line 425,
- fields : Drupal error : Unable to install your_module, field.field.node.my_field.field_my_field_date, field.storage.node.field_my_field_date already exist in active configuration.

It appear that the problem s the impossibility some to update configuration for some object :
- languages
- roles and permissions
- fields

The idea is to be able to update only some setting. I could be done with a new parameter on YAML file settings to tell configuration system to load the involved object and replace the settings on the file. Actually it always try to create the object.

πŸ› Bug report
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
ConfigurationΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡«πŸ‡·France julien_g Versonnex

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.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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.

  • πŸ‡¦πŸ‡ΊAustralia mstrelan

    Is this still an issue? If so please provide steps to reproduce and update the issue summary with the default template.

  • Status changed to Closed: outdated 12 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Since there hasn't been a follow up since March going to close out but if still valid please reopen addressing tags in #19

Production build 0.71.5 2024