Bug in nette database related selection

Notice: This thread is very old.
priman
Member | 7
+
0
-

Hello,

when foreaching on result from selection with 2 nested related() selection, then in second foreach return related() empty result. I made simple demonstration of this bug www.nechutny.net/…te-debug.zip. Database is in file test.sql. As you can see in this demo, in “Dopolední rozvrh” should be “Skupina 4” but isn't and in select is missing this iD.

Tried on Debian, PHP 5.5.1, Nette 2.1-dev 0f69335b64

hrach
Member | 1834
+
0
-

Should be fixed in master. Sorry it took so long. Thank you for great report!