Bug #104902
closedWorking link to pageuid#contenid in sys_file_reference.link is reported as broken (false positive)
0%
Description
Reproduce¶
- Add sys_file_reference.link to list of fields to check: (in page tsconfig: mod.linkvalidator.searchFields.sys_file_reference = link)
- Create textmedia element, add file, in "link" field select a CE in a page
- Change the format of the link, e.g. t3://page?uid=666#105 to 666#105
- 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¶
Versions¶
- Tested with TYPO3 v13
- also reported same problem with "brofix" in version 12: https://github.com/sypets/brofix/issues/382
Files
Updated by Sybille Peters 2 months ago
- Related to Bug #104387: Linkvalidator shows wrong url for linked content added
Updated by Benni Mack about 2 months ago
- Status changed from New to Needs Feedback
Hey Sybille,
isn't this a duplicate of https://forge.typo3.org/issues/104387 ?
Updated by Sybille Peters about 2 months ago
isn't this a duplicate of https://forge.typo3.org/issues/104387 ?
Probably yes. It has been a while.
I reproduced it with sys_file_reference.link and the other issue with tt_content.header_link but it might be the same problem.
Updated by Benni Mack about 2 months ago
- Status changed from Needs Feedback to Closed
OK. I will close this issue in favor of #104387 and we can fix the other issue properly (hopefully very soon!)