[beta6] Undefined array key "#type" in ui_suite_dsfr_form_alter()

Created on 15 December 2023, 11 months ago

Problem/Motivation

Custom code in .theme file, in the hook_form_alter implementation is incomplete.

line34 in function ui_suite_dsfr_form_alter

Steps to reproduce

a simple views on nodes, with an exposed form in a block, produce a PHP warning :

Warning: Undefined array key "#type" in ui_suite_dsfr_form_alter() (line 85 of themes/contrib/ui_suite_dsfr/ui_suite_dsfr.theme).

Proposed resolution

patch the code to make it more robust.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France just_like_good_vibes PARIS

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