-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error when querying nested content items with list part #14886
Comments
Honestly I was telling myself there is no way it would work |
Is there anything I can do to help resolve this issue? |
I can confirm that this issue also happens with MySQL
|
@ggkoning best thing you could do would be to find and fix the problem. I would go by identifying the stack trace that triggers the issue, and with some debugging and logging see what ISession instances are used to do the queries, probably a recursive call is doing two queries using the same instance, and I would assume it could be an async task that is not awaited correctly. |
@sebastienros I have made an pr with the fix. |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Context
I am using orchard core 1.7.2 headless
I am using Postgres:latest
It does not seem to happen when using SQLite.
It also happens when you nest two different content types both having list property.
Sometimes the query does work after like 10 tries.
Query
Expected behavior
You should be able to query nested content items with both having list propery
Error
The text was updated successfully, but these errors were encountered: