Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31191

Unable to load sub-items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-beta3, 3.0.0-beta4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Docker (default configuration)

      eZ Platform 3.0.0-beta3

      development environment

      Description

      When I display detailed information of a folder, the query to load sub-items returns a 500 error. I haveĀ 31704 sub-items.

      {"error":{"code":500,"message":"Internal Server Error","exception":[{"message":"Could not found type with alias \"RepositoryLanguage\". Do you forget to define it?","class":"Overblog\\GraphQLBundle\\Resolver\\UnresolvableException","trace":[{"namespace":"","short_class":"","class<span class="code-quote">":"","type":"","function":"","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Resolver\/TypeResolver.php","line":43,"args":[]},{"namespace":"Overblog\\GraphQLBundle\\Resolver","short_class":"TypeResolver","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Resolver\\TypeResolver","type":"->","function":"baseType","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Resolver\/TypeResolver.php","line":36,"args":[["string","RepositoryLanguage"]]},{"namespace":"Overblog\\GraphQLBundle\\Resolver","short_class":"TypeResolver","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Resolver\\TypeResolver","type":"->","function":"string2Type","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Resolver\/TypeResolver.php","line":23,"args":[["string","RepositoryLanguage"]]},{"namespace":"Overblog\\GraphQLBundle\\Resolver","short_class":"TypeResolver","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Resolver\\TypeResolver","type":"->","function":"resolve","file":"\/var\/www\/var\/cache\/dev\/overblog\/graphql-bundle\/__definitions__\/ContentTypeType.php","line":44,"args":[["string","RepositoryLanguage"]]},{"namespace":"Overblog\\GraphQLBundle\\__DEFINITIONS__","short_class":"ContentTypeType","class<span class="code-quote">":"Overblog\\GraphQLBundle\\__DEFINITIONS__\\ContentTypeType","type":"->","function":"Overblog\\GraphQLBundle\\__DEFINITIONS__\\{closure}","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Definition\/ConfigProcessor\/PublicFieldsFilterConfigProcessor.php","line":34,"args":[]},{"namespace":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor","short_class":"PublicFieldsFilterConfigProcessor","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor\\PublicFieldsFilterConfigProcessor","type":"->","function":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor\\{closure}","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Definition\/ConfigProcessor\/AclConfigProcessor.php","line":52,"args":[]},{"namespace":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor","short_class":"AclConfigProcessor","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor\\AclConfigProcessor","type":"->","function":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor\\{closure}","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Definition\/ConfigProcessor\/WrapArgumentConfigProcessor.php","line":21,"args":[]},{"namespace":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor","short_class":"WrapArgumentConfigProcessor","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor\\WrapArgumentConfigProcessor","type":"->","function":"Overblog\\GraphQLBundle\\Definition\\ConfigProcessor\\{closure}","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Type\/Definition\/FieldDefinition.php","line":90,"args":[]},{"namespace":"GraphQL\\Type\\Definition","short_class":"FieldDefinition","class<span class="code-quote">":"GraphQL\\Type\\Definition\\FieldDefinition","type":"::","function":"defineFieldMap","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Type\/Definition\/ObjectType.php","line":151,"args":[["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ContentTypeType"],["object","Closure"]]},{"namespace":"GraphQL\\Type\\Definition","short_class":"ObjectType","class<span class="code-quote">":"GraphQL\\Type\\Definition\\ObjectType","type":"->","function":"getFields","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Utils\/TypeInfo.php","line":180,"args":[]},{"namespace":"GraphQL\\Utils","short_class":"TypeInfo","class<span class="code-quote">":"GraphQL\\Utils\\TypeInfo","type":"::","function":"extractTypes","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Utils\/TypeInfo.php","line":200,"args":[["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ContentTypeType"],["array",{"Platform":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PlatformType"],"Repository":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\RepositoryType"],"Int":["object","GraphQL\\Type\\Definition\\IntType"],"String":["object","GraphQL\\Type\\Definition\\StringType"],"Location":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationType"],"Boolean":["object","GraphQL\\Type\\Definition\\BooleanType"],"LocationSortByOptions":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationSortByOptionsType"],"LocationConnection":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationConnectionType"],"ConnectionPage":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ConnectionPageType"],"PageInfo":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PageInfoType"],"LocationEdge":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationEdgeType"],"LocationUrlAlias":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationUrlAliasType"],"UrlAlias":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\UrlAliasType"],"Content":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ContentType"],"ContentType":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ContentTypeType"]}]]},{"namespace":"GraphQL\\Utils","short_class":"TypeInfo","class<span class="code-quote">":"GraphQL\\Utils\\TypeInfo","type":"::","function":"extractTypes","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Utils\/TypeInfo.php","line":200,"args":[["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ContentType"],["array",{"Platform":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PlatformType"],"Repository":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\RepositoryType"],"Int":["object","GraphQL\\Type\\Definition\\IntType"],"String":["object","GraphQL\\Type\\Definition\\StringType"],"Location":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationType"],"Boolean":["object","GraphQL\\Type\\Definition\\BooleanType"],"LocationSortByOptions":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationSortByOptionsType"],"LocationConnection":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationConnectionType"],"ConnectionPage":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ConnectionPageType"],"PageInfo":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PageInfoType"],"LocationEdge":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationEdgeType"],"LocationUrlAlias":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationUrlAliasType"],"UrlAlias":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\UrlAliasType"],"Content":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ContentType"]}]]},{"namespace":"GraphQL\\Utils","short_class":"TypeInfo","class<span class="code-quote">":"GraphQL\\Utils\\TypeInfo","type":"::","function":"extractTypes","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Utils\/TypeInfo.php","line":200,"args":[["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationType"],["array",{"Platform":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PlatformType"],"Repository":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\RepositoryType"],"Int":["object","GraphQL\\Type\\Definition\\IntType"],"String":["object","GraphQL\\Type\\Definition\\StringType"],"Location":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationType"],"Boolean":["object","GraphQL\\Type\\Definition\\BooleanType"],"LocationSortByOptions":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationSortByOptionsType"],"LocationConnection":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationConnectionType"],"ConnectionPage":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\ConnectionPageType"],"PageInfo":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PageInfoType"],"LocationEdge":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationEdgeType"],"LocationUrlAlias":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\LocationUrlAliasType"],"UrlAlias":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\UrlAliasType"]}]]},{"namespace":"GraphQL\\Utils","short_class":"TypeInfo","class<span class="code-quote">":"GraphQL\\Utils\\TypeInfo","type":"::","function":"extractTypes","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Utils\/TypeInfo.php","line":200,"args":[["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\RepositoryType"],["array",{"Platform":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PlatformType"],"Repository":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\RepositoryType"],"Int":["object","GraphQL\\Type\\Definition\\IntType"],"String":["object","GraphQL\\Type\\Definition\\StringType"]}]]},{"namespace":"GraphQL\\Utils","short_class":"TypeInfo","class<span class="code-quote">":"GraphQL\\Utils\\TypeInfo","type":"::","function":"extractTypes","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Type\/Schema.php","line":213,"args":[["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PlatformType"],["array",{"Platform":["object","Overblog\\GraphQLBundle\\__DEFINITIONS__\\PlatformType"]}]]},{"namespace":"GraphQL\\Type","short_class":"Schema","class<span class="code-quote">":"GraphQL\\Type\\Schema","type":"->","function":"collectAllTypes","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Type\/Schema.php","line":199,"args":[]},{"namespace":"GraphQL\\Type","short_class":"Schema","class<span class="code-quote">":"GraphQL\\Type\\Schema","type":"->","function":"getTypeMap","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Type\/SchemaValidationContext.php","line":244,"args":[]},{"namespace":"GraphQL\\Type","short_class":"SchemaValidationContext","class<span class="code-quote">":"GraphQL\\Type\\SchemaValidationContext","type":"->","function":"validateTypes","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Type\/Schema.php","line":517,"args":[]},{"namespace":"GraphQL\\Type","short_class":"Schema","class<span class="code-quote">":"GraphQL\\Type\\Schema","type":"->","function":"validate","file":"\/var\/www\/vendor\/webonyx\/graphql-php\/src\/Type\/Schema.php","line":469,"args":[]},{"namespace":"GraphQL\\Type","short_class":"Schema","class<span class="code-quote">":"GraphQL\\Type\\Schema","type":"->","function":"assertValid","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Definition\/Type\/SchemaExtension\/ValidatorExtension.php","line":11,"args":[]},{"namespace":"Overblog\\GraphQLBundle\\Definition\\Type\\SchemaExtension","short_class":"ValidatorExtension","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Definition\\Type\\SchemaExtension\\ValidatorExtension","type":"->","function":"process","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Definition\/Type\/ExtensibleSchema.php","line":51,"args":[["object","Overblog\\GraphQLBundle\\Definition\\Type\\ExtensibleSchema"]]},{"namespace":"Overblog\\GraphQLBundle\\Definition\\Type","short_class":"ExtensibleSchema","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Definition\\Type\\ExtensibleSchema","type":"->","function":"processExtensions","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Request\/Executor.php","line":146,"args":[]},{"namespace":"Overblog\\GraphQLBundle\\Request","short_class":"Executor","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Request\\Executor","type":"->","function":"execute","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":159,"args":[["null",null],["array",{"query":["string","\n    {\n        _repository {\n            location(locationId: 54) {\n                pathString\n                children(sortBy: [_name, ],  first:10 ) {\n                    totalCount\n                    pages {\n                        number\n                        cursor\n                    }\n                    edges {\n                        node {\n                            id\n                            remoteId\n                            invisible\n                            hidden\n                            priority\n                            pathString\n    \n                            content {\n                                _thumbnail {\n                                    uri\n                                    alternativeText\n                                }\n                                _info {\n                                    id\n                                    name\n                                    remoteId\n                                    mainLanguageCode\n                                    owner {\n                                        name\n                                    }\n                                    currentVersion {\n                                        versionNumber\n                                        creator {\n                                            name\n                                        }\n                                        languageCodes\n                                    }\n                                    contentType {\n                                        name\n                                        identifier\n                                    }\n                                    section {\n                                        name\n                                    }\n                                    publishedDate {\n                                        timestamp\n                                    }\n                                    modificationDate {\n                                        timestamp\n                                    }\n                                }\n                            }\n                        }\n                    }\n                }\n            }\n        }\n    }"],"variables":["null",null],"operationName":["null",null]}]]},{"namespace":"Overblog\\GraphQLBundle\\Controller","short_class":"GraphController","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Controller\\GraphController","type":"->","function":"processNormalQuery","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":119,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["null",null]]},{"namespace":"Overblog\\GraphQLBundle\\Controller","short_class":"GraphController","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Controller\\GraphController","type":"->","function":"processQuery","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":88,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["null",null],["boolean",false]]},{"namespace":"Overblog\\GraphQLBundle\\Controller","short_class":"GraphController","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Controller\\GraphController","type":"->","function":"createResponse","file":"\/var\/www\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":59,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["null",null],["boolean",false]]},{"namespace":"Overblog\\GraphQLBundle\\Controller","short_class":"GraphController","class<span class="code-quote">":"Overblog\\GraphQLBundle\\Controller\\GraphController","type":"->","function":"endpointAction","file":"\/var\/www\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":146,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["null",null]]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class<span class="code-quote">":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handleRaw","file":"\/var\/www\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":68,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["integer",1]]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class<span class="code-quote">":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handle","file":"\/var\/www\/vendor\/symfony\/http-kernel\/Kernel.php","line":201,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"],["integer",1],["boolean",true]]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"Kernel","class<span class="code-quote">":"Symfony\\Component\\HttpKernel\\Kernel","type":"->","function":"handle","file":"\/var\/www\/public\/index.php","line":63,"args":[["object","Symfony\\Component\\HttpFoundation\\Request"]]}]}]}}
      
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jbcr JB CR
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: