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

German article in English folder causes error on SIL

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: High High
    • None
    • 3.0.0-beta3
    • Platform > GraphQL

    Description

      German article in English folder causes error on Sub-Items List.

      Steps:

      1. Create a Folder with only English translation.
      2. Create an Article with only German translation inside this folder.
      3. View the folder in admin UI on Content tab.
      4. Select the child article from Content Tree.

      Actual result: "Cannot load location" error occurs, spinner is stuck on SIL.

      Request Payload:

      query: "↵    {↵        _repository {↵            location(locationId: 83) {↵                pathString↵                children(sortBy: [_name, ],  first:10 ) {↵                    totalCount↵                    pages {↵                        number↵                        cursor↵                    }↵                    edges {↵                        node {↵                            id↵                            remoteId↵                            invisible↵                            hidden↵                            priority↵                            pathString↵    ↵                            content {↵                                _thumbnail {↵                                    uri↵                                    alternativeText↵                                }↵                                _info {↵                                    id↵                                    name↵                                    remoteId↵                                    mainLanguageCode↵                                    owner {↵                                        name↵                                    }↵                                    currentVersion {↵                                        versionNumber↵                                        creator {↵                                            name↵                                        }↵                                        languageCodes↵                                    }↵                                    contentType {↵                                        name↵                                        identifier↵                                    }↵                                    section {↵                                        name↵                                    }↵                                    publishedDate {↵                                        timestamp↵                                    }↵                                    modificationDate {↵                                        timestamp↵                                    }↵                                }↵                            }↵                        }↵                    }↵                }↵            }↵        }↵    }"
      

      Response:

      {"errors":[{"debugMessage":"Could not find \u0027location\u0027 with identifier \u002783\u0027","message":"Internal server Error","extensions":{"category":"internal"},"locations":[{"line":4,"column":13}],"path":["_repository","location"],"trace":[{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/ezsystems\/ezplatform-graphql\/src\/GraphQL\/Resolver\/LocationResolver.php","line":64,"call":"EzSystems\\EzPlatformGraphQL\\GraphQL\\DataLoader\\SearchLocationLoader::findById(83)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Resolver\/AbstractProxyResolver.php","line":38,"call":"EzSystems\\EzPlatformGraphQL\\GraphQL\\Resolver\\LocationResolver::resolveLocation(instance of Overblog\\GraphQLBundle\\Definition\\Argument(1))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/var\/cache\/dev\/overblog\/graphql-bundle\/__definitions__\/RepositoryType.php","line":46,"call":"Overblog\\GraphQLBundle\\Resolver\\AbstractProxyResolver::resolve(array(2))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Resolver\/Resolver.php","line":56,"call":"Overblog\\GraphQLBundle\\__DEFINITIONS__\\RepositoryType::Overblog\\GraphQLBundle\\__DEFINITIONS__\\{closure}(array(0), instance of Overblog\\GraphQLBundle\\Definition\\Argument(1), instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":632,"call":"Overblog\\GraphQLBundle\\Resolver\\Resolver::Overblog\\GraphQLBundle\\Resolver\\{closure}(array(0), array(1), instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":555,"call":"GraphQL\\Executor\\ReferenceExecutor::resolveOrError(instance of GraphQL\\Type\\Definition\\FieldDefinition, instance of GraphQL\\Language\\AST\\FieldNode, instance of Closure, array(0), instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":1247,"call":"GraphQL\\Executor\\ReferenceExecutor::resolveField(GraphQLType: Repository, array(0), instance of ArrayObject(1), array(2))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":1201,"call":"GraphQL\\Executor\\ReferenceExecutor::executeFields(GraphQLType: Repository, array(0), array(1), instance of ArrayObject(1))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":1160,"call":"GraphQL\\Executor\\ReferenceExecutor::collectAndExecuteSubfields(GraphQLType: Repository, instance of ArrayObject(1), array(1), array(0))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":853,"call":"GraphQL\\Executor\\ReferenceExecutor::completeObjectValue(GraphQLType: Repository, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(1), array(0))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":722,"call":"GraphQL\\Executor\\ReferenceExecutor::completeValue(GraphQLType: Repository, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(1), array(0))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":673,"call":"GraphQL\\Executor\\ReferenceExecutor::completeValueWithLocatedError(GraphQLType: Repository, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(1), array(0))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":563,"call":"GraphQL\\Executor\\ReferenceExecutor::completeValueCatchingError(GraphQLType: Repository, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(1), array(0))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":1247,"call":"GraphQL\\Executor\\ReferenceExecutor::resolveField(GraphQLType: Domain, null, instance of ArrayObject(1), array(1))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":257,"call":"GraphQL\\Executor\\ReferenceExecutor::executeFields(GraphQLType: Domain, null, array(0), instance of ArrayObject(1))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/ReferenceExecutor.php","line":208,"call":"GraphQL\\Executor\\ReferenceExecutor::executeOperation(instance of GraphQL\\Language\\AST\\OperationDefinitionNode, null)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/Executor\/Executor.php","line":155,"call":"GraphQL\\Executor\\ReferenceExecutor::doExecute()"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/webonyx\/graphql-php\/src\/GraphQL.php","line":158,"call":"GraphQL\\Executor\\Executor::promiseToExecute(instance of GraphQL\\Executor\\Promise\\Adapter\\SyncPromiseAdapter, instance of Overblog\\GraphQLBundle\\Definition\\Type\\ExtensibleSchema, instance of GraphQL\\Language\\AST\\DocumentNode, null, instance of ArrayObject(1), null, null, null)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Executor\/Executor.php","line":22,"call":"GraphQL\\GraphQL::promiseToExecute(instance of GraphQL\\Executor\\Promise\\Adapter\\SyncPromiseAdapter, instance of Overblog\\GraphQLBundle\\Definition\\Type\\ExtensibleSchema, \u0027\n    {\n        _repository {\n            location(locationId: 83) {\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    }\u0027, null, instance of ArrayObject(1), null, null)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Request\/Executor.php","line":154,"call":"Overblog\\GraphQLBundle\\Executor\\Executor::execute(instance of Overblog\\GraphQLBundle\\Definition\\Type\\ExtensibleSchema, \u0027\n    {\n        _repository {\n            location(locationId: 83) {\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    }\u0027, null, instance of ArrayObject(1), null, null)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":159,"call":"Overblog\\GraphQLBundle\\Request\\Executor::execute(null, array(3))"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":119,"call":"Overblog\\GraphQLBundle\\Controller\\GraphController::processNormalQuery(instance of Symfony\\Component\\HttpFoundation\\Request, null)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":88,"call":"Overblog\\GraphQLBundle\\Controller\\GraphController::processQuery(instance of Symfony\\Component\\HttpFoundation\\Request, null, false)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/overblog\/graphql-bundle\/src\/Controller\/GraphController.php","line":59,"call":"Overblog\\GraphQLBundle\\Controller\\GraphController::createResponse(instance of Symfony\\Component\\HttpFoundation\\Request, null, false)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":151,"call":"Overblog\\GraphQLBundle\\Controller\\GraphController::endpointAction(instance of Symfony\\Component\\HttpFoundation\\Request, null)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":68,"call":"Symfony\\Component\\HttpKernel\\HttpKernel::handleRaw(instance of Symfony\\Component\\HttpFoundation\\Request, 1)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/vendor\/symfony\/http-kernel\/Kernel.php","line":198,"call":"Symfony\\Component\\HttpKernel\\HttpKernel::handle(instance of Symfony\\Component\\HttpFoundation\\Request, 1, true)"},{"file":"\/Users\/michalszoltysek\/Projects\/workspace\/ez4.lh\/public\/index.php","line":63,"call":"Symfony\\Component\\HttpKernel\\Kernel::handle(instance of Symfony\\Component\\HttpFoundation\\Request)"}]}],"data":{"_repository":{"location":null}}}
      

      Attachments

        1. EZP-31034.png
          EZP-31034.png
          83 kB
        2. ezplatform.yaml
          6 kB
        3. screenshot-1.png
          screenshot-1.png
          132 kB

        Activity

          People

            Unassigned Unassigned
            michal.szoltysek@ibexa.co Michał Szołtysek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: