Skip to content

Conversation

@marcorcau
Copy link
Contributor

@marcorcau marcorcau commented May 23, 2023

Fixes #500

The previous method EntityStorage::loadRevision() loses specific language information. Some getTranslation($langcode) should be added, but its not really needed as $route_match->getParameter('node') already contains the correct revision and langcode information.

@vercel
Copy link

vercel bot commented May 23, 2023

Someone is attempting to deploy a commit to the Chapter Three Team on Vercel.

A member of the Team first needs to authorize it.

Marc Orcau and others added 2 commits December 18, 2025 08:27
Loading a revision now relies on the language parameters provided by route_match, ensuring the correct translated revision is returned instead of always falling back to the default language.
@bojanbogdanovic bojanbogdanovic force-pushed the fix/issue-500-wrong-preview-url-when-translation-latest-version branch from 9a8782d to d557675 Compare December 18, 2025 07:27
@bojanbogdanovic bojanbogdanovic changed the title Issue #500: Fix wrong iFrame preview URL on "Latest version" tab for translations fix(next): fix wrong iFrame preview URL on "Latest version" tab for translations (#500) Dec 18, 2025
@bojanbogdanovic bojanbogdanovic merged commit dfa340d into chapter-three:main Dec 18, 2025
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong iFrame preview URL when viewing Latest version of a draft of a translation

3 participants