Project

General

Profile

Actions

Bug #102007

closed

Typolink creates 404 links to doktype 254

Added by Claus Harup over 1 year ago. Updated 4 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2023-09-22
Due date:
% Done:

100%

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

Description

Having an editor linking to a page [uid=11] in the pagetree using bodytext rte leads to dead links over various TYPO3 versions when the destination page [uid=11] gets it's doktype changed to either 254 (folder) og 255 (recycler) afterwards....

TYPO3 v.9 :
doktype 1: link created
doktype 254: no link created
doktype 255: no link created

TYPO3 v.10 :
doktype 1: link created
doktype 254: link created and leads to 404
doktype 255: no link created

TYPO3 v.11 :
doktype 1: link created
doktype 254: link created and leads to 404
doktype 255: no link created

TYPO3 v.12 :
doktype 1: link created
doktype 254: link created and leads to 404
doktype 255: no link created

It seams like something has changed in version 10.

Actions #1

Updated by Riccardo De Contardi 12 months ago

I tried the following test with

  • TYPO3 11.5.35
  • 12.4.14
  • 13.1.0-dev(latest main) (*)

1) Create a page "test-to-sysfolder", doktype 1 (standard page)
2) Create a page "test-to-recycler", doktype 1 (standard page)
3) Create a page "test", doktype 1 (standard page);
3.1) on the page create a "standard text" content element
3.2) inside the text put the following lines:

<p>link to test to sysfolder</p>
<p>link to test to recycler</p>

3.3) with the "link" button, link the first line to the page created at point 1) and the second line to the page created at point 2)
4) Save it and visit the page "test" with another browser (e.g. in incognito mode)

Result:

both links are working and lead to the respective pages > OK

5) edit the page "test-to-sysfolder" and change its doktype to 254 (sysfolder), save it
6) edit the page "test-to-recycler" and change its doktype to 255 (recycler), save it
* Note: point 6) cannot be executed on TYPO3 13 because the recycler doktype has been removed

7) visit the page "test" with another browser (e.g. in incognito mode)

results for TYPO3 11 and 12

  • the link "link to test to sysfolder" to the page "test-to-sysfolder" is still present and leads to a 404 page
  • the link "link to test to recycler" to the page "test-to-recycler" has been removed

results for TYPO3 13

  • the link "link to test to sysfolder" to the page "test-to-sysfolder" is still present but it leads to the home page
    NOTE: I don't know if it is related to my installation
Actions #2

Updated by Gerrit Code Review 4 days ago

  • Status changed from New to Under Review

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

Actions #3

Updated by Gerrit Code Review 4 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88688

Actions #4

Updated by Gerrit Code Review 4 days ago

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

Actions #5

Updated by Benni Mack 4 days ago

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

Also available in: Atom PDF