Bug #13828
closedcheckhidden has no effect for some configurations
100%
Description
I've set up a scheduler task to check the complete page tree. Therefore, the processor class is initialized with a list of page ids that contain all pages in the page tree.
Now, getLinkStatistics() checks the records of pages, tt_content and tt_news within this page id list (uid or pid). The checkhidden configuration setting removes the hidden pages when the page table is checked, but it does not remove the records (e.g. from tt_content) when the pages that contains them is hidden.
So, if you have to hidden pages A and B and A contains a link to B, linkvalidator will report an error 'Page B is not visible.'
It get's even more complicated with TemplaVoila. There, a page and tt_content record can be not deleted and not hidden, but simply not linked from TV and, therefore, not displayed. But linkvalidator will report an error if such records contain a non-working link.
Given the fact that TV is widely used and probably not many people clean up unused (i.e. unlinked from TV) records I suspect many false positives.
Files