TypeError in Config translation plugin when configuration is renamed

Created on 1 September 2025, 7 days ago

Problem/Motivation

The Babel Config translation type plugin throws a TypeError when trying to access configuration that has been renamed or deleted, causing the translation interface to crash.

TypeError: Drupal\Component\Utility\NestedArray::getValue(): Argument #1 ($array) must be of type array, null given, called in /web/modules/contrib/babel/src/Plugin/Babel/TranslationType/Config.php on line 89

Steps to reproduce

1. Create translatable configuration (e.g., a block)
2. Add translations via Babel
3. Rename the configuration (e.g., block ID changes from dash to underscore)
4. Visit /admin/config/regional/babel

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇵🇱Poland alorenc Wolsztyn, 🇵🇱

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024