You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Out of nowhere the message "Model is loaded as an entity, ID can not be changed to a different one" is popping up.
I just create a new Entity, set the values from a source entity and try to save it.
But the entity ends up in the database...
If I use entity->duplicate() as suggested in the documentation I just get the exception but no entity in the database.
I have the same function directly in my model definition, where it just works...
So what is wrong with this entityID and why did it get implemented in the first place? And why is - as always - such a change, that is breaking behaviour that "just" worked never tested?
The text was updated successfully, but these errors were encountered:
Out of nowhere the message "Model is loaded as an entity, ID can not be changed to a different one" is popping up.
I just create a new Entity, set the values from a source entity and try to save it.
But the entity ends up in the database...
If I use entity->duplicate() as suggested in the documentation I just get the exception but no entity in the database.
I have the same function directly in my model definition, where it just works...
So what is wrong with this entityID and why did it get implemented in the first place? And why is - as always - such a change, that is breaking behaviour that "just" worked never tested?
The text was updated successfully, but these errors were encountered: