Bug #50772
closedWrong url for links to content elements
100%
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
Updated by Michael Stucki almost 11 years ago
- Project changed from 1510 to TYPO3 Core
- Category changed from Linkvalidator to Linkvalidator
Updated by Gerrit Code Review almost 11 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
Updated by Helmut Winkelbach about 10 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" target="_blank" class="download" title="..."><img src="http://www.....de/fileadmin/templates/img/pdf.png" 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
Updated by Gerrit Code Review about 10 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
Updated by Gerrit Code Review almost 10 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
Updated by Gerrit Code Review almost 10 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
Updated by Mathias Schreiber almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset afad106ce08a95f354720349e93b4c7ac05ecc7c.