Bug #84887

pageTSconfig subpage level is not considered in Linkvalidator

Added by Sybille Peters over 1 year ago. Updated 5 days ago.

Status:
New
Priority:
Should have
Category:
Linkvalidator
Start date:
2018-04-27
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Currently, linkvalidator is highly configurable, the settings can be applied via TSconfig for a page / user / group.

When checking links however, only the page TSconfig of the current start page is considered. Different page TSconfig on a subpage is not considered. It does not override the settings.

Steps to Reproduce

  1. Create 2 pages with 1 tt_content element each, with a broken link each in in tt_content.header and tt_content.bodytext. I page is parent of the other
  2. Set the TSconfig on the first page to scan bodytext and header
  3. Set the TSconfig of the child page to only scan bodytext
  4. Start "Check links" from the parent page and view report
  5. Start "Check links" from the child page and view report

Expected result

Get same number of broken links for child page: 1 (only bodytext)

Actual result

If "Check links" is started on child page, the result is correct.

If "Check links" is started on parent page, the result is 2 links for child page (not correct)

Solution

Either:

  • keep current behaviour and document this (I think having a different configuration on a subpage is highly unlikely to ever be required)
  • change behaviour to check for configuration on subpages

History

#1 Updated by Sybille Peters over 1 year ago

  • Subject changed from pageTSconfig subpage level is not considered to pageTSconfig subpage level is not considered in Linkvalidator

#2 Updated by Susanne Moog over 1 year ago

  • Target version changed from 9.3 to 9.4

#3 Updated by Susanne Moog about 1 year ago

  • Target version changed from 9.4 to Candidate for patchlevel

#4 Updated by Sybille Peters 5 days ago

  • Description updated (diff)

Also available in: Atom PDF