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 over 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

Also available in: Atom PDF