-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OneToMany not update, not remove #2015
Comments
For fix I need to overload EntityController and function preUpdateEntity and use my function addArticle for all getArticles. It's possible without this trick ? |
I have the same problem. In issue #1918 says that it works, but not for me. |
I found a solution to remove, but nor for update
in Dossier.php to:
And change:
in Article.php to
This is a special kind of magic... |
I've the same problem since 1.17.8 > updates in children are not saved. If I force 1.17.7 in composer, still ok. |
I guess problem is here javiereguiluz@6a365fc |
@grachevko I don't understand why that could be the problem :( |
@javiereguiluz flush with $entity argument perisist only this entity without relations. |
It's ok with the master branch thank @grachevko I wait the new release :) |
@javiereguiluz the problem is explained in the following thread: doctrine/orm#4142 |
@javiereguiluz can confirm that flush with $entity arg persists $entity without relations. |
I'm closing this issue because we're starting a new phase in the history of this bundle (see #2059). We've moved it into a new GitHub organization and we need to start from scratch: no past issues, no pending pull requests, etc. I understand if you are angry or disappointed by this, but we really need to "reset" everything in order to reignite the development of this bundle. |
Just try to disable |
But I have the same bug in my project. #1971 #1663 #2004
OneToMany doesn't save.
I have Article Entity
And this entity
My EasyAdmin config it's really easy
But when I save in page Dossier, I have every time Article empty.
Any idea ?
The text was updated successfully, but these errors were encountered: