Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3069

Page builder view internal links result in error

    XMLWordPrintable

Details

    Description

      On following internal links in eZ Platform page builder in v3.0.0-rc1 the system crashes with the following message:

      Argument 1 passed to eZ\Publish\Core\Repository\SiteAccessAware\LocationService::loadLocation() must be of the type int, string given, called in /app/vendor/ezsystems/ezplatform-page-builder/src/bundle/Controller/PageController.php on line 571 [in vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/Repository/SiteAccessAware/LocationService.php:52] 

      In v2.5. similar links work ok. The URL in the address bar when you get the error is: https://www.example.com/admin/page/preview/https%3A//www.example.com/en/about-us

      Steps to reproduce:

      1. Install clean copy of eZ Platform EE v3.0.0-rc1
      2. Navigate to "eZ Platform" folder in structure
      3. Edit object and create internal link to front page (ezlocation://2) on rich text 
      4. Save and exit
      5. Enter page tab and view "eZ Platform" in tab (path /admin/page/preview/42/eng-GB/12/site)
      6. Click on internal link for error

      Attachments

        1. ezee3069.mov
          8.61 MB
          Jani Tarvainen
        2. Screen Shot 2020-03-27 at 16.01.39.png
          326 kB
          Jani Tarvainen
        3. Screen Shot 2020-03-31 at 12.48.19.png
          52 kB
          Jani Tarvainen

        Activity

          People

            Unassigned Unassigned
            jani.tarvainen@ibexa.co Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: