Task #85549

Improve message if localization fails due to existing record

Added by Mathias Brodala 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Category:
DataHandler aka TCEmain
Target version:
Start date:
2018-07-13
Due date:
% Done:

100%

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

Description

Currently when trying translating a record and a translation already exists the following message is shown:

Localization failed; There already was a localization for this language of the record!

This message should be improved to include the following:

  • Name of the translation table (mostly for pages_language_overlay for TYPO3 < v8)
  • UID of the translation record found

This make it a lot easier to fix the broken translation state and is essential for cases where a record cannot be translated properly because translations of its related records already exist. See #31812 for this.

Associated revisions

Revision 6b4ed22b (diff)
Added by Mathias Brodala 4 months ago

[TASK] Add details to message for existing record localization

Resolves: #85549
Releases: master
Change-Id: I8a98da8842c6d15175debed5513bbc4bc2bb0a2c
Reviewed-on: https://review.typo3.org/57586
Tested-by: TYPO3com <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review 5 months 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/57586

#2 Updated by Gerrit Code Review 5 months 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/57586

#3 Updated by Gerrit Code Review 5 months 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/57586

#4 Updated by Gerrit Code Review 4 months ago

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

#5 Updated by Mathias Brodala 4 months ago

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

#6 Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF