Add loadOriginalEntity function

Created on 22 February 2023, almost 2 years ago

Problem/Motivation

Split from 🐛 Impossible to update an entity revision if the field value you are updating matches the default revision. Fixed (comment 20)

I think it would be nice if we introduce a new method - loadOriginalEntity(EntityInteface $entity) and define on the interface what exactly is loaded in each scenario i.e.

saving a non-default revision - original will be the revision we're currently using
saving a default revision - original will be the newest default revision

Feature request
Status

Closed: duplicate

Version

10.1

Component
Entity 

Last updated about 9 hours ago

Created by

🇦🇺Australia acbramley

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

Comments & Activities

Production build 0.71.5 2024