- Issue created by @acbramley
- Status changed to Closed: duplicate
over 1 year ago 10:02am 22 February 2023 - 🇬🇧United Kingdom catch
Marking duplicate of 📌 $entity->original doesn't adequately address intentions when saving a revision Needs work
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
Marking duplicate of 📌 $entity->original doesn't adequately address intentions when saving a revision Needs work