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
Ok, I have taken a closer look and this seems to be the wanted behavior and not a bug. By default it does not make sence to duplicate all relationship, this would end with duplicatingn the whole entity tree.
Though, I can image a support by setting a cascade property similarly as for persist/remove. So I'm marking this a feature request.
check pls this test...
Here is code + sql command
$author = $this->model->authors->getById(1);
$newAuthor = clone $author;
$this->model->authors->persistAndFlush($newAuthor);
New author stole books old author..
The text was updated successfully, but these errors were encountered: