Bug #89140

Page module: Translation wizard should respect available languages via configured Site

Added by Benni Mack 9 days ago. Updated 8 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Start date:
2019-09-11
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Associated revisions

Revision b46e1d09 (diff)
Added by Benni Mack 8 days ago

[BUGFIX] Select available languages based on Site configuration

When the translation wizard in the Page Module
fetches translations and possible languages, it
queries the sys_language records - however since SiteMatcher/SiteFinder
already does this on a per-page level (currently via TranslationConfigurationProvider)
the LocalizationRepository can find allowed language IDs
directly instead of querying the sys_language table, which might
contain 20 languages, but only 2 are available for this pagetree.

Resolves: #89140
Releases: master, 9.5
Change-Id: I8e755e4cc3bdbae7dc4dd71319b8ffc8120200a4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61664
Tested-by: Andreas Fernandez <>
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Susanne Moog <>

Revision f66df41c (diff)
Added by Benni Mack 3 days ago

[BUGFIX] Select available languages based on Site configuration

When the translation wizard in the Page Module
fetches translations and possible languages, it
queries the sys_language records - however since SiteMatcher/SiteFinder
already does this on a per-page level (currently via TranslationConfigurationProvider)
the LocalizationRepository can find allowed language IDs
directly instead of querying the sys_language table, which might
contain 20 languages, but only 2 are available for this pagetree.

Resolves: #89140
Releases: master, 9.5
Change-Id: I8e755e4cc3bdbae7dc4dd71319b8ffc8120200a4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61672
Tested-by: TYPO3com <>
Tested-by: Benni Mack <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review 9 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61664

#2 Updated by Gerrit Code Review 9 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61664

#3 Updated by Gerrit Code Review 9 days ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61664

#4 Updated by Gerrit Code Review 8 days ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61672

#5 Updated by Benni Mack 8 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF