Can no longer set or change machine name

Created on 16 January 2025, 3 months ago

Problem/Motivation

Attempting to set or change the machine name now prohibits save with the following error in the log. This means duplicate blocks cannot be renamed.

Warning: Undefined array key "exists" in Drupal\Core\Render\Element\MachineName::validateMachineName() (line 275 of /www/dev/ato1-008/web/core/lib/Drupal/Core/Render/Element/MachineName.php)

TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, no array or string given in call_user_func() (line 276 of /www/dev/ato1-008/web/core/lib/Drupal/Core/Render/Element/MachineName.php).

Context version: 5.0.0-rc1
Drupal version: 10.4.1

Steps to reproduce

Create a new block in the context interface and try to set the machine name and save. Or edit an existing block and edit the machine name.

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇬🇧United Kingdom mistergroove

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

Comments & Activities

Production build 0.71.5 2024