Project

General

Profile

Actions

Bug #96838

closed

Translation Wizard fails if l10n_source points to a deleted (or non-existent) record

Added by Susanne Moog about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Language Manager (backend)
Start date:
2022-02-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Given
- a record A in the default language (lang=0, uid=7)
- is copied (free mode) to a second language as B (lang=1, uid=8, l10n_source=7)
- A is then deleted (uid=7, lang=0, deleted=1)
- a new record on lang 0 is created (lang=0, uid=9)
When
- calling the translation wizard by clicking "Translate"
Then
- a 500 error is thrown
Because
- TYPO3 tries to figure out the source language of B by selecting deleted record A
Instead, it should
- handle the situation as if no reference to A existed

Actions #1

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Gerrit Code Review about 2 years ago

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

Actions #3

Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch 11.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/+/73532

Actions #4

Updated by Susanne Moog about 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF