Notices on null values from HandlerPluginBase, HTML and other handlers

Created on 20 June 2023, over 1 year ago
Updated 4 July 2023, over 1 year ago

Problem/Motivation

If the field_content field of an entity doesn't have a value, the HTML and other handlers possibly pass NULL values to string functions (e.g. str_replace). This causes a notice to be produced.

Steps to reproduce

/

Proposed resolution

- Update ..\Handler\HandlerPluginBase, ..\Handler\HTML, ..\Handler\LongText to pass only string values when reading field_content.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇭Switzerland pvbergen

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

Comments & Activities

Production build 0.71.5 2024