Problem/Motivation

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

TypeError: Drupal\Component\Utility\NestedArray::getValue(): Argument #1 ($array) must be of type array, null given, called in /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

Issue fork babel-3544230

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alorenc created an issue. See original summary.

alorenc’s picture

Issue summary: View changes
alorenc’s picture

Assigned: alorenc » Unassigned
Status: Active » Needs review

claudiu.cristea’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.