Effects not stored correctly

Created on 6 March 2024, 4 months ago
Updated 2 April 2024, 3 months ago

Problem/Motivation

Effect settings are not stored correctly, causing Pagedesigner to break when trying to edit an element

Steps to reproduce

  • Open an element in PD
  • Add an effect and configured it
  • Save element
  • Click on element to edit it.

Proposed resolution

Remove string conversion in patch method of Effect Handler:
$entity->field_effects->value = Json::encode((string) $data['effects']);

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland danielwirz

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024