Project

General

Profile

Actions

Bug #10989

closed

Anchors in internal links are incorrectly treated as pages

Added by Joh. Feustel about 14 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Linkvalidator
Target version:
-
Start date:
2010-11-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

try adding a link to a content element like 1#123
This will end up with a message like

http://domain/index.php?id=123     "Page doesn't exist." 

regardless if there is a content element 123 on page 1 or not.
This is because the check is determined by the type "db" and does not take "recordRef" into account which is "pages:1" or "tt_content:123"

This is a problem since it adds meaningless messages if a user adds a single working link to a content element.


Files

10989.diff (13.6 KB) 10989.diff Chris topher, 2011-01-12 15:57
10989_v2.diff (17.4 KB) 10989_v2.diff Michael Miousse, 2011-01-13 18:16
10989_v3.diff (16.9 KB) 10989_v3.diff Chris topher, 2011-01-15 18:45
10989_v4.diff (16.7 KB) 10989_v4.diff Chris topher, 2011-01-15 20:22
10989_v5.diff (16.8 KB) 10989_v5.diff Michael Miousse, 2011-01-17 15:57
Actions

Also available in: Atom PDF