Project

General

Profile

Actions

Bug #69943

closed

sys_language_overlay should respect hidden flag of content elements

Added by Jonas Enders over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-09-18
Due date:
% Done:

0%

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

Description

How to reproduce:

  • Default language is english
  • Setup a additional language (german)
  • Set
    config.sys_language_overlay = 1
    config.sys_language_mode = content_fallback
    
  • Insert two elements in default language
  • push "Translate default content elements" to the german language overlay
  • hide one element in german language

Now you see two elements in the german frontend. One from the german language overlay and one from den default language.

In my opinion there should only be one german element as the other is translated but hidden.


Files

69943.patch (1.72 KB) 69943.patch Jonas Enders, 2015-09-18 13:13

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #82012: Add Functional tests for rendering of translated hidden recordsClosed2017-07-31

Actions
Actions #1

Updated by Jonas Enders over 8 years ago

I have created a patch that delivers me the desired result.
Unfortunately it is not very pretty, maybe someone else has an idea.

Actions #2

Updated by Riccardo De Contardi almost 8 years ago

  • Status changed from New to Needs Feedback

setting config.sys_language_overlay = 0 the hidden CE is not replaced with the one in the default language (test done with the latest 8.2 master)...are there contraindications that I do not see?

Actions #3

Updated by Alexander Opitz over 7 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions #4

Updated by Tymoteusz Motylewski over 6 years ago

  • Related to Task #82012: Add Functional tests for rendering of translated hidden records added
Actions

Also available in: Atom PDF