Details
-
Bug
-
Resolution: Fixed
-
High
-
3.0.0-rc1
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:
- Install clean copy of eZ Platform EE v3.0.0-rc1
- Navigate to "eZ Platform" folder in structure
- Edit object and create internal link to front page (ezlocation://2) on rich text
- Save and exit
- Enter page tab and view "eZ Platform" in tab (path /admin/page/preview/42/eng-GB/12/site)
- Click on internal link for error