Project

General

Profile

Bug #94196

Updated by Sybille Peters over 3 years ago

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). 


 * Behaviour or "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). 


 h2. Reproduce 

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

 </pre> 


 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! 


 h2. 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. 


Back