quick icon indicating copy to clipboard operation
quick copied to clipboard

Connected entities fail if more than 2 are connect with hasManyThrough Error building: HasMany@quick -> java.lang.StackOverflowError

Open GunnarLieb opened this issue 2 years ago • 3 comments

Please see: https://github.com/akitogo/quicktest

getInstance("user")
            .with("usergroup.permission.extendedpermission")
            .has("usergroup.permission.extendedpermission")

and I use has, it works with two like has("usergroup.permission") but as soon I have three (see above) I get (bearbeitet) an Error building: HasMany@quick -> java.lang.StackOverflowError

GunnarLieb avatar Nov 15 '23 12:11 GunnarLieb

Please try with Quick 8+ as the hasManyThrough logic has been completely reworked.

elpete avatar May 31 '24 21:05 elpete

Hello @elpete, I think I missed your comment so apologies for my late reply.

Just updated to lastest Coldbox (7.3.0) and Quick (9.0.1), the error remains the same.

GunnarLieb avatar Jul 03 '24 15:07 GunnarLieb

Please check repo https://github.com/akitogo/quicktest which contains migrations (create and seeds) to reproduce

GunnarLieb avatar Jul 03 '24 15:07 GunnarLieb