Issue Bug Closed

#94196Visibility of translated content element of hidden CE is different in backend and frontend

Sybille Peters 05/26/21, 06:25 updated 10/20/21, 20:07

Description

I am not sure if this is a bug or intended behaviour – but it can be confusing because “visibility in frontend (FE)” for translated content element (CE) of hidden CE is not displayed in the backend (BE).

  • “Show hidden content elements” – will not consider translated elements in connected mode with hidden original
  • translated CE with hidden original are not marked as hidden in BE

The question is if you just show the state of the “hidden” database field for the record or if you show if the state of the element, if it is “hidden” (taking the state of the original and possibly the configuration into account).

Reproduce

page
├── ce_de - original language (hidden)
└── ce_en - translation (not hidden)

1. Create a page and a content element on it
2. Translate it in connected mode (“Translate”, not copy)
3. Change the state of the content element of the original language to “hidden” (not of the translation)
4. View both pages in the Frontend (FE): both the translated and the original will not be displayed in the Frontend
5. Look at the “Show hidden content elements” on the bottom of the page, click it on / off

Result:

  • The translated content element will not be displayed in the Frontend, it will effectively inherit the “hidden” state of the original
  • BUT, the translated content is not treated as “hidden” in the backend – “Show hidden content elements” shows only 1 and does not deactivate the display of the translated CE in the backend. The CE is not displayed as “hidden”

show_hidden.png

——

do_not_show_hidden.png

Expected result

Either treat translations of hidden CE as hidden too in FE and BE or in some other way mark them as “invisible in FE” while viewing them in BE – otherwise this is confusing.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.