Can not delete immutable configuration

Created on 12 October 2023, about 1 year ago

Problem/Motivation

After my latest changes, the module produces an error during uninstall.

Drupal\Core\Config\ImmutableConfigException: Can not delete immutable configuration core.entity_view_display.node.gridstack_content_demo.teaser. Use \Drupal\Core\Config\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object in /var/www/html/web/core/lib/Drupal/Core/Config/ImmutableConfig.php:51

Proposed resolution

Roll back hook_uninstall to previous state and add description why getEditable() method is used.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Panchuk Volyn, Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024