Skip to content
Snippets Groups Projects
Commit 4fd30373 authored by André Buchmann's avatar André Buchmann Committed by Christian Kuhn
Browse files

[BUGFIX] Consider hideAtCopy and disableHideAtCopy for page translation

In TYPO3 v8, new page translations within pages_language_overlay
were visible by default when using plain DataHandler.

In TYPO3 v9, due to the merge into "pages" for translations,
the default value for "hidden" is used. Every new page translation
was hidden by default - this was a different behavior.

Issue #88248 changed this and restored the behaviour how it was in
TYPO3 v8, this translated pages where always visible.

This patch consider TCA configuration 'hideAtCopy' and TSconfig setting
'TCEMAIN.table.pages.disableHideAtCopy' options for page translations
if source page is not already hidden. Further datahandler tests are
added to cover these cases and prevent regressions on that.

As the patch for #88248 already has been stating:

For future TYPO3 major versions, the hidden field could be migrated
into a 'allowLanguageSynchronization' once the Context API is used
throughout Core properly.

Resolves: #89622
Related: #88248

Rele...
parent 935b834d
Branches
Tags
No related merge requests found
Showing
with 847 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment