Project

General

Profile

Actions

Bug #50772

closed

Wrong url for links to content elements

Added by Jan Kiesewetter over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2013-08-05
Due date:
% Done:

100%

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

Description

If a link is to a content element in the RTE not only to a internal page the link validator gets the wrong URL to check.

E.g. i link to id=95#1146 the linkvalidator checks the page id 1146 which not exists in my environment.

In some cases, this causes a broken link is checked as OK.


Files

linkvalidator.png (2.51 KB) linkvalidator.png Jan Kiesewetter, 2013-08-05 09:24

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #59157: Linkvalidator prüft falsch! Closed2014-05-28

Actions
Actions #1

Updated by Michael Stucki over 10 years ago

  • Category set to Linkvalidator
Actions #2

Updated by Michael Stucki over 10 years ago

  • Project changed from 1510 to TYPO3 Core
  • Category changed from Linkvalidator to Linkvalidator
Actions #3

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26512

Actions #4

Updated by Helmut Winkelbach over 9 years ago

Hi out there,

i did an upgrade from 4.7 to 6.2 and in my HTML element TYPO3 did change it and that gives the problem that Linkvalidator says "Page (295) does not exist".

<p><a href="http://www...ng.de/?file:286&quot; target="_blank" class="download" title="..."><img src="http://www.....de/fileadmin/templates/img/pdf.png&quot; alt="File link icon.pdf" data-htmlarea-file-uid="295" data-htmlarea-file-table="sys_file" height="30" width="30" /> English – ...</a></p>

This part was added after saving the element.
*data-htmlarea-file-uid="295" data-htmlarea-file-table="sys_file" *

If i click on the link in Linkvalidator i get this error.

Fatal error: Uncaught exception 'TYPO3\CMS\Core\Error\Http\PageNotFoundException' with message 'The requested page does not exist!' in /kunden/220469_70794/rp-hosting/8578/9578/typo3cms/typo3_src-6.2.5/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:1598 Stack trace: #0 /kunden/220469_70794/rp-hosting/8578/9578/typo3cms/typo3_src-6.2.5/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(1925): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->getPageAndRootline() #1 /kunden/220469_70794/rp-hosting/8578/9578/typo3cms/typo3_src-6.2.5/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(1509): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->getPageAndRootlineWithDomain('1') #2 /kunden/220469_70794/rp-hosting/8578/9578/typo3cms/typo3_src-6.2.5/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(1380): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->fetch_the_id() #3 /kunden/220469_70794/rp-hosting/8578/ in /kunden/220469_70794/rp-hosting/8578/9578/typo3cms/typo3_src-6.2.5/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php on line 1598

Actions #5

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26512

Actions #6

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26512

Actions #7

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35598

Actions #8

Updated by Mathias Schreiber over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF