No path description causes deprecation warning on save

Created on 11 November 2023, about 1 year ago
Updated 2 February 2024, 10 months ago

Problem/Motivation

When I create a pathbuilder export file, I get the following warning many times over:

Deprecated function: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\wisski_pathbuilder\Entity\WisskiPathbuilderEntity->toXML() (line 1655 of modules/contrib/wisski/wisski_pathbuilder/src/Entity/WisskiPathbuilderEntity.php).

Drupal\wisski_pathbuilder\Entity\WisskiPathbuilderEntity->toXML() (Line: 561)

Looking at that line of the file, the problem seems to be triggered by the fact that there is no description for any of the paths that are being written. I don't actually see a place in the path definition UI to provide a description, which would actually be a nice thing to have.

Steps to reproduce

Click the button 'Create Exportfile' in the pathbuilder edit screen.

🐛 Bug report
Status

Fixed

Version

3.0

Component

User interface

Created by

🇦🇹Austria tla

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

Comments & Activities

Production build 0.71.5 2024