Entity is not validated prior to being saved

Created on 11 April 2019, over 5 years ago
Updated 2 September 2024, 3 months ago

Currently it appears the field values are set and the entity is saved without validation.
The attached patch adds support for $entity->validate() prior to saving.
More info: https://www.drupal.org/docs/8/api/entity-validation-api/entity-validatio... β†’
With thanks for the useful module.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand davidwhthomas

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024