Page route for translated page is not generated correctly when page has frontend group access restrictions
The URI Builder fetches the slug field of the target page to generate the URI.
This works also for pages with frontend group access restrictions, because PageRepository::getPage is called with disableGroupCheck.
However when a translated page should be fetched, the disableGroupCheck argument is not pushed through the query which fetches the translation,
which leads to the situation that the translation is not found and the slug of the default language page is used. In the end this leads to a wrongly composed URL.
- Create a page
- Translate the page to another language
- Add frontend group access restriction to page in default language
- Preview translated page (preview button of translated page)