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
I have two entities: Foo and Bar with a unidirectional ManyToOne relationship between them (Bar has Foo).
When I try to re-/unset Bar#foo, Doctrine tries not only change the reference (change/reomve the value in the column bar.foo_name), but also to UPDATE the value of foo.name.
In my case it leads to an Integrity constraint violation error. But even if not -- it's not the expected behavior.
Is it a bug or a layer-8-issue? :)
The text was updated successfully, but these errors were encountered:
I wrote a test and have just opened a pull request. The test is working, so it won't be a Doctrine issue. I'm closing this issue. But, anyway, if you have an idea, what it might be caused by, it would be nice, if you share your thoughts about it. Thanks.
Hello!
I have two entities:
Foo
andBar
with a unidirectionalManyToOne
relationship between them (Bar
hasFoo
).When I try to re-/unset
Bar#foo
, Doctrine tries not only change the reference (change/reomve the value in the columnbar.foo_name
), but also toUPDATE
the value offoo.name
.In my case it leads to an
Integrity constraint violation
error. But even if not -- it's not the expected behavior.Is it a bug or a layer-8-issue? :)
The text was updated successfully, but these errors were encountered: