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

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-rc1
    • Fix Version/s: 3.0.0
    • Component/s: Page Builder
    • Labels:

      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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jani.tarvainen@ez.no Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: