Project

General

Profile

Actions

Bug #104902

closed

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

Added by Sybille Peters 2 months ago. Updated about 2 months ago.

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

  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


Versions


Files

sys_file_reference.png (3.32 KB) sys_file_reference.png Sybille Peters, 2024-09-11 09:49
broken_link.png (15.3 KB) broken_link.png Sybille Peters, 2024-09-11 09:49

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #104387: Linkvalidator shows wrong url for linked contentUnder Review2024-07-12

Actions
Actions #1

Updated by Sybille Peters 2 months ago

  • Related to Bug #104387: Linkvalidator shows wrong url for linked content added
Actions #2

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 ?

Actions #3

Updated by Sybille Peters about 2 months ago

@Benni Mack

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.

Actions #4

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!)

Actions

Also available in: Atom PDF