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

[HTTP-Cache]: Translating a Landing Page can cause errors

    XMLWordPrintable

Details

    • Ibexa Commerce, Ibexa Content, Ibexa Experience, Ibexa Open Source
    • Yes

    Description

      Start with clean v3.3.35 + patches for https://issues.ibexa.co/browse/IBX-6504
      Use HTTP-Cache (eg Varnish)
      Setup bilingual site:

      ezplatform:
      ...
          siteaccess:
              list: [site, fre]
              groups:
                  site_group: [site, fre]
      ...
          system:
              site:
                  languages: [eng-GB]
              fre:
                  languages: [fre-FR]
              admin_group:
                  languages: [eng-GB, fre-FR]
                  page_builder:
                      siteaccess_list: [site, fre]
      
      • Turn off alwaysAvailable flag in Landing Page Content Type.
      • Create Landing Page in eng-GB havinh at least one Page Block.
      • Translate this Content into fre-FR.

      Result:

      • Page blocks are not rendered and show error in dev mode
      [2023-11-02T14:44:59.304194+00:00] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Could not find 'location' with identifier '76'" at /var/www/html/vendor/ezsystems/ezplatform-kernel/eZ/Bundle/EzPublishCoreBundle/EventListener/ExceptionListener.php line 47 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Could not find 'location' with identifier '76' at /var/www/html/vendor/ezsystems/ezplatform-kernel/eZ/Bundle/EzPublishCoreBundle/EventListener/ExceptionListener.php:47)\n[previous exception] [object] (eZ\\Publish\\Core\\Base\\Exceptions\\NotFoundException(code: 404): Could not find 'location' with identifier '76' at /var/www/html/vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php:83)"} []
      

      Note:

      • Page Blocks can be edited and saved - which will fix the error for a given Page

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: