You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
reviewing the logs on production system after updating to the 2024.6.1 release I'm seeing
karrio.api | GraphQL request:2:3
karrio.api | 1 | {
karrio.api | 2 | organization {
karrio.api | | ^
karrio.api | 3 | id
karrio.api | Cannot query field 'organizations' on type 'Query'.
karrio.api |
karrio.api | GraphQL request:5:3
karrio.api | 4 | }
karrio.api | 5 | organizations {
karrio.api | | ^
karrio.api | 6 | id
karrio.api |
Cannot query field 'organization' on type 'Query'.
so, badly formatted GQL somewhere? Looks to be both the ORG_DATA_QUERY in main.ts and the GET_ORGANIZATIONS query in the queries.ts types.
Looking again... the first one has 'organization' and says it can't find 'organizations'. The second one says 'organizations' and can't find 'organization' -- so maybe they are just swapped accidentally?
To Reproduce
start up the server, check the logs docker logs karrio.api
Expected behavior
I'm not sure what those queries are there for, but I wouldn't expect them to be erroring?
The text was updated successfully, but these errors were encountered:
I believe, I have an idea where the issue come from. It is not a format issue but a missing check for multi-org support.
Basically organization and organizations are queries that are not available in the OSS build. I am might be missing a check somewhere for MULTI_ORGANIZATION feature flag to prevent that query on the dashboard .
Describe the bug
reviewing the logs on production system after updating to the 2024.6.1 release I'm seeing
so, badly formatted GQL somewhere? Looks to be both the ORG_DATA_QUERY in main.ts and the GET_ORGANIZATIONS query in the queries.ts types.
Looking again... the first one has 'organization' and says it can't find 'organizations'. The second one says 'organizations' and can't find 'organization' -- so maybe they are just swapped accidentally?
To Reproduce
start up the server, check the logs
docker logs karrio.api
Expected behavior
I'm not sure what those queries are there for, but I wouldn't expect them to be erroring?
The text was updated successfully, but these errors were encountered: