Project

General

Profile

Actions

Bug #13828

closed

checkhidden has no effect for some configurations

Added by Daniel Minder about 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Category:
Linkvalidator
Target version:
-
Start date:
2011-03-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

13828.diff (10.9 KB) 13828.diff Michael Miousse, 2011-04-26 22:07
Actions

Also available in: Atom PDF