Issue Bug Closed

#104902Working link to pageuid#contenid in sys_file_reference.link is reported as broken (false positive)

Sybille Peters 09/11/24, 09:54 updated 10/07/24, 15:05

Description

Reproduce

  1. Add sys_file_reference.link to list of fields to check: (in page tsconfig: mod.linkvalidator.searchFields.sys_file_reference = link)
  2. Create textmedia element, add file, in “link” field select a CE in a page
  3. Change the format of the link, e.g. t3://page?uid=666#105 to 666#105
  4. Check links

We should not see any new broken links, but the link is reported as broken:

If the link is entered in the RTE like this, it is not reported as broken:

<a href="t3://page?uid=666#105">page link to ce</a>

Context

When selected via the link browser the format t3://page?uid=666#105 is used, so I guess this should be the preferred format. However, the format 666#105 also works in FE and editors have used and are using this.

Screenshots

!sys_file_reference.png!
broken_link.png

Versions

Reviews 0

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