warring in creating new block

Created on 15 August 2024, 4 months ago
Updated 17 September 2024, 3 months ago

Problem/Motivation

Steps to reproduce

go to /block/add/elementree and you will see the message.

Undefined array key "#default_value" in /var/www/html/web/modules/contrib/elementree/elementree.module on line 147

Warning: Trying to access array offset on null in /var/www/html/web/modules/contrib/elementree/elementree.module on line 147

also not be able to change the 'property type' drop down

Proposed resolution

the problem is that add more button has no default value and the warring pop. i propose to add a check to if the key = 'add_more' and to continue the loop

Remaining tasks

commit a patch

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇮🇱Israel yacov

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