Actions
Bug #104902
closedWorking link to pageuid#contenid in sys_file_reference.link is reported as broken (false positive)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2024-09-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions