Validate block content entity in InlineBlockNormalizer::denormalize

Created on 5 November 2023, about 1 year ago

Problem/Motivation

At present InlineBlockNormalizer doesn't validate the denormalized inline block. It should and throw an error if it doesn't validate.

Steps to reproduce

Put a layout with an invalid field value for an inline block, save the layout and see the block is allowed to be saved even though invalid

Proposed resolution

Call validate on the entity before serializing. Throw an error if invalid

Remaining tasks

Implementation
Tests

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

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

Comments & Activities

Production build 0.71.5 2024