Issue Bug Closed

#106675Checking links to pages does not check if page is hidden via rootline (e.g. if child of hidden=1 and extendToSubpages=1)

Sybille Peters 05/11/25, 09:12 updated 10/20/26, 13:17

Description

A link to a subpage of page with hidden=1 and extendToSubpages=1 should be detected as broken. Should also check subpages of startime, endtime, fe_group.

Steps to Reproduce

  1. Create a page with hidden=1 and extendToSubpages=1
  2. Create a not hidden subpage of this page
  3. Create a page link to this page
  4. Run check links

Expected behavior: The page link should be detected as 404.

Actual behavior: Link is detected as “ok”

Versions

  • TYPO3 version: main (14.0.0-dev) and lower

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Oliver Bartsch commented and changed status New Closed <span data-processor="relativetime" data-value="2026-10-20T13:17:56+00:00" > 10/20/26, 13:17 </span>

    Hey,

    thanks for the report. It’s correct: InternalLinktype::checkPage() only looks at the target page record itself (deleted, hidden, starttime, endtime). It never walks the rootline, so a visible subpage of a page with hidden=1 and extendToSubpages=1 is reported as OK.

    It seems you ran into this one before: you already reported the same problem in #101367 back in July 2023 (“page link to not hidden child of hidden page with extendToSubpages is not considered broken (linkvalidator)”), and it is still open. Sorry that it has sat there for so long. I’m closing this one as a duplicate so we keep the discussion in one place, and can continue on #101367.

    Cheers, Oli