Closed MartinLojda closed 9 years ago
There is an else branch, which should work correctly, but probably it isn't. https://github.com/nextras/orm/blob/a03eaaf00374f8c3452699f6a78dfdb96b63f40e/src/Mapper/Dbal/QueryBuilderHelper.php#L139-L142
I was unable to reproduce query builder failure, although, there is quite big bug in recursive persistance. I added note do doc for v1.1. v1.2 will fix it.
Oh, I see, the issue has the important part in the title. You are talking about directed relationship (1:1d) :| I was talking about 1:1.
Yes, I ment directed relationship and forgot to mention it in the message. Sorry for the confusion.
@MartinLojda Could you please try the current master? It should be fixed! Thanks for reporting!
in normalizeAndAddJoins method - if branch for "one has one" relation is missing.