Project

General

Profile

Actions

Bug #70781

closed

Copy from language behaves inconsistently

Added by Daniel Goerz over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend User Interface
Target version:
Start date:
2015-10-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

A recently introduced feature allows in the page module copying af content from other languages in the "languages" view of the page module. The behavior however is broken because the amount of copied elemtes or even the dropdown content may depend on whether a language is rendered before another.

I am not sure wht the intended behavior is, so let me tell you how to reproduce properly:

  1. Create at least three sys_languages.
  2. Create a new page and translate it in every language.
  3. Create a content element in the default language.
  4. Switch to "language" mode of page module via the dropdown at the top.
  5. Switch to "default" in the second dropdown to have all languages rendered next to each other.
  6. In the translation language that is rendered in the middle (this is important), create a TRANSLATION of the content element created on (3).

At this point we have the unwanted behavior. In the translation languages LEFT to the one you translated the content element in it is not suggested in the copy from language dropdown. Although in translation languages on the RIGHT it is. The reason is located in PageLayoutView and should't be that hard to fix.

Some more facts:
  • If you switch to a specific language on the second dropdon at the top (instead of default) the Translated CE never appears in the copy from language suggestion.
  • If you create a CE in the same language as the translated one but without a langauge parent, it will show up on every copy from language dropdown.

So I guess the bug is not that the translated content element isnt shown left to the language it was created in but that it is showing in the copy from langauge dropdown on the right side? Because we dont want translated elements to be copyable from another language since they loose the relation to the original language parent on copying.

Actions

Also available in: Atom PDF