Text format is lost when updating long text fields

Created on 18 April 2023, over 1 year ago

Problem/Motivation

When scripts were removed from long text fields, the text format is lost.

Steps to reproduce

Run `$drush ruc` on nodes with unsecure scripts in long text format fields with a text format selected.

Proposed resolution

Update the setting of the new field data to maintain all previous field values in the array instead of just the 'value' key.

πŸ› Bug report
Status

Needs review

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States johnnydarkko

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

Comments & Activities

Production build 0.71.5 2024