Problem/Motivation

Fresh install of Drupal 10.3.6, created a dynamic link with subrequests, without route, and trying to edit it will lead to

InvalidArgumentException: "0" is an invalid render array key. Value should be an array but got a string. in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php).
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

kopeboy created an issue. See original summary.

kksandr’s picture

Assigned: Unassigned » kksandr

  • kksandr committed e3906595 on 1.2.x
    Issue #3480873 by kksandr: fix link editing
    
kksandr’s picture

Assigned: kksandr » Unassigned
Status: Active » Fixed

The edit has been corrected. Also, the test coverage has been updated to detect such cases.

kksandr’s picture

Version: 1.2.0 » 1.2.x-dev

Status: Fixed » Closed (fixed)

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