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
When trying to enable "Lucene" or "Elasticsearch" modules without enabling "Queries" module, then navigate to GraphiQL page it will return (500 Internal Server Error) with the following exception, due to trying resolve "IQueryManager" by "LuceneQueryFieldTypeProvider" and "ElasticQueryFieldTypeProvider":
System.NullReferenceException: Object reference not set to an instance of an object.
at OrchardCore.Queries.Lucene.GraphQL.Queries.LuceneQueryFieldTypeProvider.GetIdentifierAsync() in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs:line 33
at OrchardCore.Apis.GraphQL.Services.SchemaService.GetSchemaAsync() in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/Services/SchemaService.cs:line 87
at OrchardCore.Apis.GraphQL.GraphQLMiddleware.ExecuteAsync(HttpContext context, ISchemaFactory schemaService, IDocumentWriter documentWriter) in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/GraphQLMiddleware.cs:line 141
at OrchardCore.Apis.GraphQL.GraphQLMiddleware.Invoke(HttpContext context, IAuthorizationService authorizationService, IAuthenticationService authenticationService, ISchemaFactory schemaService, IDocumentWriter documentWriter) in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/GraphQLMiddleware.cs:line 64
I think that we need to add "OrchardCore. Queries" as a required feature for GraphQL startup in both modules, or create new features for GraphQL in both modules and set "OrchardCore. Queries" as a dependency, what do you think?
The text was updated successfully, but these errors were encountered:
When trying to enable "Lucene" or "Elasticsearch" modules without enabling "Queries" module, then navigate to GraphiQL page it will return (500 Internal Server Error) with the following exception, due to trying resolve "IQueryManager" by "LuceneQueryFieldTypeProvider" and "ElasticQueryFieldTypeProvider":
System.NullReferenceException: Object reference not set to an instance of an object.
at OrchardCore.Queries.Lucene.GraphQL.Queries.LuceneQueryFieldTypeProvider.GetIdentifierAsync() in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs:line 33
at OrchardCore.Apis.GraphQL.Services.SchemaService.GetSchemaAsync() in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/Services/SchemaService.cs:line 87
at OrchardCore.Apis.GraphQL.GraphQLMiddleware.ExecuteAsync(HttpContext context, ISchemaFactory schemaService, IDocumentWriter documentWriter) in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/GraphQLMiddleware.cs:line 141
at OrchardCore.Apis.GraphQL.GraphQLMiddleware.Invoke(HttpContext context, IAuthorizationService authorizationService, IAuthenticationService authenticationService, ISchemaFactory schemaService, IDocumentWriter documentWriter) in /Users/mdameer/Downloads/OrchardCore-main/src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/GraphQLMiddleware.cs:line 64
I think that we need to add "OrchardCore. Queries" as a required feature for GraphQL startup in both modules, or create new features for GraphQL in both modules and set "OrchardCore. Queries" as a dependency, what do you think?
The text was updated successfully, but these errors were encountered: