Skip to content
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

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

Open
GunnarLieb opened this issue Nov 15, 2023 · 3 comments

Comments

@GunnarLieb
Copy link
Contributor

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

@elpete
Copy link
Collaborator

elpete commented May 31, 2024

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

@GunnarLieb
Copy link
Contributor Author

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants