Notices on null values from HandlerPluginBase, HTML and other handlers

Created on 20 June 2023, about 1 year ago
Updated 4 July 2023, 12 months 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.69.0 2024