#50873sectionIndex menu is empty when the page is not in menu
Description
In AbstractMenuContentObject::sectionIndex(), sectionIndex menu items are first based on the page record, and then overridden with tt_content properties.
But if $basePageRow has the ‘nav_hide’ property set to 1, then the resulting menuItem will systematically failed in AbstractMenuContentObject::filterMenuPages().
We have already the tt_content’s ‘sectionIndex’ property in order to exclude a tt_content element from a sectionIndex menu, so I see no reason to not to unset ‘nav_hide’.
To fix that, we need to force ‘nav_hide’ on the menuItem to 0 in AbstractMenuContentObject::sectionIndex().
Patch included, tested on TYPO3 6.1 (should be OK on earlier version)