Task #79856

Enhance DataHandler translation and synchronization handling

Added by Oliver Hader over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Localization
Target version:
Start date:
2017-02-16
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
hard
Sprint Focus:
Stabilization Sprint

Description

  • add more tests for allowLanguageSynchronization & l10n_mode=exclude
  • enhance inline children synchronization for non-translatable tables using $GLOBALS['TCA'][$tableName]['ctrl']['origUid'] if defined
  • bugfix for copying records instead of localizing them - the target page-id was missing
  • integrate handling of l10n_mode=prefixLangTitle for cloning data in memory - DataHandler hooks are not process in that regard

Related issues

Related to TYPO3 Core - Bug #87640: Keep language reference for associated l10n_mode=exclude children Closed 2019-02-04
Related to TYPO3 Core - Task #87666: Add language synchronization tests for TCA type inline/CSV Closed 2019-02-06

Associated revisions

Revision 5099297e (diff)
Added by Oliver Hader over 2 years ago

[TASK] Enhance DataHandler translation and synchronization handling

  • add more tests for allowLanguageSynchronization & l10n_mode=exclude
  • enhance inline children synchronization for non-translatable tables
    using $GLOBALS['TCA'][$tableName]['ctrl']['origUid'] if defined
  • bugfix for copying records instead of localizing them - the target
    page-id was missing
  • integrate handling of l10n_mode=prefixLangTitle for cloning data
    in memory - DataHandler hooks are not process in that regard

Resolves: #79856
Releases: master
Change-Id: I7f5ef7edba9e80deba6025fe1394d10ee8e2d78c
Reviewed-on: https://review.typo3.org/51714
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Tested-by: TYPO3com <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>

Revision 326ca5d7 (diff)
Added by Oliver Hader over 2 years ago

[FOLLOWUP][TASK] Enhance DataHandler translation and synchronization handling

Copying a page translation having an 1:n monoglot inline relation leads
to an SQL error which is silently put to sys_log in DataHandler. Besides
that, the inline children are superfluously duplicated since there is no
connection between those copied records anymore.

Resolves: #79856
Releases: master
Change-Id: Ife5cfdea1c1d9dff764ea3d28e0a35a83d5919e1
Reviewed-on: https://review.typo3.org/51784
Reviewed-by: Morton Jonuschat <>
Tested-by: Morton Jonuschat <>
Tested-by: TYPO3com <>
Reviewed-by: Oliver Hader <>
Tested-by: Oliver Hader <>

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

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

#2 Updated by Oliver Hader over 2 years ago

  • Sprint Focus set to Stabilization Sprint

#3 Updated by Gerrit Code Review over 2 years ago

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

#4 Updated by Oliver Hader over 2 years ago

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

#5 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved 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/51784

#6 Updated by Gerrit Code Review over 2 years 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/51784

#7 Updated by Gerrit Code Review over 2 years 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/51784

#8 Updated by Gerrit Code Review over 2 years 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/51784

#9 Updated by Oliver Hader over 2 years ago

  • Status changed from Under Review to Resolved

#10 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

#11 Updated by Oliver Hader 9 months ago

  • Related to Bug #87640: Keep language reference for associated l10n_mode=exclude children added

#12 Updated by Oliver Hader 9 months ago

  • Related to Task #87666: Add language synchronization tests for TCA type inline/CSV added

Also available in: Atom PDF