Bug Report
| Q |
A |
| BC Break |
no |
| Version |
2.15.3 |
Summary
When you clone an entity with a oneToOne relationship, the cloned entity is filled with data that already exists and has nothing to do with it.
Current behavior
The clone is reloaded from the database even though it is a new entity
How to reproduce
You can find a reproducer here: https://github.com/Erwui/lazy_ghost_bug
Go on "/"
Expected behavior
When setting "enable_lazy_ghost_objects" to false the clone is correct
Bug Report
Summary
When you clone an entity with a oneToOne relationship, the cloned entity is filled with data that already exists and has nothing to do with it.
Current behavior
The clone is reloaded from the database even though it is a new entity
How to reproduce
You can find a reproducer here: https://github.com/Erwui/lazy_ghost_bug
Go on "/"
Expected behavior
When setting "enable_lazy_ghost_objects" to false the clone is correct