Actions
Bug #85576
closedLinkvalidator not checking linked content elements with TypoLink
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2018-07-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If an anchor is added to a TypoLink, using the new TypoLink markup t3://page?uid=x#y, the content element is never checked on its existence.
The InternalLinktype is only checking the page, but not the content element, since it is only checking on recordRef = pages
, while the SoftReferenceIndex is breaking this into pages
and tt_content
, calling the InternalLinkType twice.
How to reproduce:
Have a link in for instance the tt_content field "header_link" like t3://page?uid=x#y pointing to a valid page but not to a valid anchor
Run the checks in the module "Web > Info > Linkvalidator".
No error for the non-existing content element will show up.
Actions