[BUGFIX] Fix Linkvalidator checks on hidden pages
The following problems are now fixed: 1. do not check links on hidden pages (if checkhidden=0) 2. show links on hidden pages (if checkhidden=1) Also, unit tests are introduced for PagesRepository. More functional tests can be added in additional patches. Resolves: #93895 Releases: main, 12.4 Change-Id: Id8fc2ea6df4d0c8d1adbaee114d5a4a6d556b8d1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80661 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/linkvalidator/Classes/Repository/BrokenLinkRepository.php 6 additions, 0 deletions...linkvalidator/Classes/Repository/BrokenLinkRepository.php
- typo3/sysext/linkvalidator/Classes/Repository/PagesRepository.php 13 additions, 9 deletions...sext/linkvalidator/Classes/Repository/PagesRepository.php
- typo3/sysext/linkvalidator/Tests/Unit/Repository/PagesRepositoryTest.php 41 additions, 0 deletions...nkvalidator/Tests/Unit/Repository/PagesRepositoryTest.php
Please register or sign in to comment