Actions
Bug #92751
closedLocalization wizard hangs
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2020-11-02
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
Description
Steps to reproduce:
- Create a content element on the page
- Localize that content element to another language
- Create another content element in the same column below the first one
- Change the first content element to language "All"
- Press translate button in the Page module
Expected result:
- You can translate the second element
Actual result:
- Source language selection does not appear
- List of records to localize does not appear
- Clicking "Next" makes the window display spinning indicator forever
The cause
- Query in
LocalizationRepository::fetchOriginLanguage
will fetch two languages:-1
and0
. The first one will be returned:-1
- Since
-1
is not localizable, it will be skipped, so there will be no source language to translate from - Since there is no source language, there will be no records to translate
- The system does not expect to have a translation window when there is nothing to translate and will display the spinning wheel forever
Proposed fixes:
- Changing language to
-1
should delete all translations of the record LocalizationRepository::fetchOriginLanguage
should ignore language-1
Updated by Dmitry Dulepov about 4 years ago
- Target version deleted (
Candidate for patchlevel)
Updated by Dmitry Dulepov about 4 years ago
- Related to Bug #92757: Localization from language "All" should not be possible added
Updated by Gerrit Code Review about 4 years 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/+/66557
Updated by Dmitry Dulepov almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8e102f491ce577d41f7dca6ecbdc7c7ed05cd745.
Updated by Gerrit Code Review almost 4 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67014
Updated by Gerrit Code Review almost 4 years 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/+/67015
Updated by Dmitry Dulepov almost 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset e4b1e594e93cc46568e16909ba5d7033a24fea81.
Actions