Issue Bug Closed

#85576Linkvalidator not checking linked content elements with TypoLink

Patrick Broens 07/16/18, 15:31 updated 05/07/19, 12:17

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.

Reviews 2