Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
3.3.34
-
None
-
Yes
Description
Steps to reproduce:
- Create fre-FR language.
- 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]
- Turn off alwaysAvailable flag in Landing Page Content Type.
- Create Landing Page in eng-GB.
- 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()