Skip to content

PHP Warning: Undefined array key "description" in vendor/fluidtypo3/flux/Classes/ViewHelpers/Field/AbstractFieldViewHelper.php line 165 #2271

@bahammes

Description

@bahammes

I have checked that the bug exists in the dev-development branch
Yes

I have checked that there are no already open issues or recently closed issues about this bug
Yes

Describe the bug
The new optional view helper argument "description" is missing an isset check:
7e8682c

Should be:
$component->setDescription($arguments['description']??'');

To Reproduce

Load the any page with a flux element on it in the frontend while being logged into the backend.

Expected behavior
No warning.

Additional context
TYPO3 12.4.38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions