Project

General

Profile

Bug #86773

Updated by Joerg Kummer about 6 years ago

After patch for #86512, which includes field 'hidden' as default for rootline data, we thought about to implement further enable columns. 

 Default for TCA pages are: 
 * hidden 
 * starttime 
 * endtime 
 * fe_group 

 Currently BackendUtility gets root line with following fields per default: 
 * uid 
 * pid 
 * title 
 * doktype 
 * slug 
 * tsconfig_includes 
 * TSconfig 
 * is_siteroot 
 * t3ver_oid 
 * t3ver_wsid 
 * t3ver_state 
 * t3ver_stage 
 * backend_layout_next_level 
 * hidden 

 Adding fields 'starttime', 'endtime', and 'fe_group' would at least render correct page with status icons in backend modul for site configuration, which currently do not respect these three fields. You can reproduce it this way: 

 *Given* Given 

 Three sites, in web root which all are set to 'is_siteroot'. 
 Each site must have one of these three fields 'starttime', 'endtime', and 'fe_group' filled, that changes it icon at least in pagetree. 

 *Expected* Expected 

 All views which lists pages with icons, should render page icons including the status. Also backend modul for site configuration. 

 *Actual* Actual 

 Backend modul for site configuration shows only icon with correct doktype, labeled with 'hidden' overlay if disabled or not. 
 Scheduled, endtime restricted or frontend user group restricted pages got not the expected icon overlay, as seen i fx pagetree. 

 Furthermore, following fields will also change icon overlay, and got not rendered correctly too. But they are not in the group of enable columns: 
 * nav_hide 
 * content_from_pid 
 * module 
 * extendToSubpages 

 To fix this, these fields must just added to already given lists in EXT:backend/Classes/Utility/BackendUtility.php in static methods BEgetRootLine() and getPageForRootline(). 

Back