Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-6504

Translating Page builder contents doesn't work

    XMLWordPrintable

Details

    • Yes

    Description

      Steps to reproduce:

      1. Create fre-FR language.
      2. Use the following Site Access config in .yamls:
                site:
                    languages: [eng-GB]
                fre:
                    languages: [fre-FR]
        
            system:
                admin_group:
                    languages: [eng-GB]
                    page_builder:
                        siteaccess_list: [site, fre]
        
      1. Turn off alwaysAvailable flag in Landing Page Content Type.
      2. Create Landing Page in eng-GB.
      3. Translate this content into fre-FR.

      Result:
      One is presented with an empty screen. Preview action throws 500.

      Expected result:
      A preview should be rendered properly.

      Stack trace:

      1st:
      Twig\Error\RuntimeError:
      An exception has been thrown during the rendering of a template ("Could not find 'location' with identifier '127'").

      at /var/www/ezplatform-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/views/pagelayout.html.twig:11

      2nd:
      eZ\Publish\Core\Base\Exceptions\NotFoundException:
      Could not find 'location' with identifier '127'

      at /var/www/ezplatform-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php:83
      at eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase->getBasicNodeData()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/ExceptionConversion.php:46)
      at eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\ExceptionConversion->getBasicNodeData()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Persistence/Legacy/Content/TreeHandler.php:167)
      at eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler->loadLocation()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Handler.php:105)
      at eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler->load()
      (var/cache/dev/ContainerDC44qct/Handler_1aa5f2d.php:29)
      at ContainerDC44qct\Handler_1aa5f2d->load()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Persistence/Cache/LocationHandler.php:75)
      at eZ\Publish\Core\Persistence\Cache\LocationHandler->eZ\Publish\Core\Persistence\Cache{closure}()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Persistence/Cache/AbstractInMemoryHandler.php:100)
      at eZ\Publish\Core\Persistence\Cache\AbstractInMemoryHandler->getCacheValue()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Persistence/Cache/LocationHandler.php:82)
      at eZ\Publish\Core\Persistence\Cache\LocationHandler->load()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Repository/LocationService.php:191)
      at eZ\Publish\Core\Repository\LocationService->loadLocation()
      (var/cache/dev/ContainerDC44qct/LocationService_fd6e046.php:36)
      at ContainerDC44qct\LocationService_fd6e046->loadLocation()
      (/var/www/ezplatform-kernel/src/lib/Repository/Mapper/ContentLocationMapper/DecoratedLocationService.php:42)
      at Ibexa\Core\Repository\Mapper\ContentLocationMapper\DecoratedLocationService->loadLocation()
      (/var/www/ezplatform-kernel/eZ/Publish/SPI/Repository/Decorator/LocationServiceDecorator.php:42)
      at eZ\Publish\SPI\Repository\Decorator\LocationServiceDecorator->loadLocation()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/Repository/SiteAccessAware/LocationService.php:58)
      at eZ\Publish\Core\Repository\SiteAccessAware\LocationService->loadLocation()
      (/var/www/ezplatform-kernel/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php:317)
      at eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter->generate()

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              lionel.akpagni@ibexa.co Lionel Akpagni
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: