Bug #89327

Auto redirect: Could not resolve target page

Added by Guido Schmechel almost 2 years ago. Updated about 3 hours ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-10-01
Due date:
% Done:

0%

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

Description

Scenario:
I change a slug in the page properties. Example: "test1" (source) to "test2" (target). The redirect has been added.

Problem:
If i call "https://example.com/test1" i got this message "The page did not exist or was inaccessible. Reason: The requested page does not exist" The target has been added as value "/test2" and not as "t3://page?uid=3"

Error message in target field
"not implemented type unknown"

Possible solution
Maybe its a better way to use the page id?
Code: https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/redirects/Classes/Service/SlugService.php#L155


Related issues

Related to TYPO3 Core - Task #89301: Streamline automatic slug & redirects handlingAccepted2019-09-29

Actions
Related to TYPO3 Core - Bug #91557: Auto slug update creates not working redirectAccepted2020-06-03

Actions
Related to TYPO3 Core - Feature #93288: Merge redirect chainsNew2021-01-14

Actions
Related to TYPO3 Core - Bug #92748: Infinite redirects (redirect loop) when updating slugsNew2020-11-02

Actions
#1

Updated by Guido Schmechel almost 2 years ago

  • Related to Task #89301: Streamline automatic slug & redirects handling added
#2

Updated by Guido Schmechel almost 2 years ago

  • Subject changed from Auto redirect: Could not resolve targt page to Auto redirect: Could not resolve target page
  • Description updated (diff)
#3

Updated by Frank Naegler almost 2 years ago

  • Status changed from New to Accepted
  • Assignee set to Frank Naegler
#4

Updated by Uwe Trotzek 7 months ago

  • Related to Bug #91557: Auto slug update creates not working redirect added
#5

Updated by Gerrit Code Review 7 months ago

  • Status changed from Accepted 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/c/Packages/TYPO3.CMS/+/68202

#6

Updated by Gerrit Code Review 6 months ago

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

#7

Updated by Gerrit Code Review 6 months ago

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

#8

Updated by Gerrit Code Review 6 months ago

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

#9

Updated by Sybille Peters 5 months ago

This should also solve the problem with "redirect loops" (a => b => a), right? If the page id is used for the target, not the path. see #92748

And the problem of "redirect chains" (a => b => c), see #93288

#10

Updated by Sybille Peters 5 months ago

#11

Updated by Sybille Peters 5 months ago

  • Related to Bug #92748: Infinite redirects (redirect loop) when updating slugs added
#12

Updated by Gerrit Code Review about 3 hours ago

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

#13

Updated by Gerrit Code Review about 3 hours ago

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

#14

Updated by Gerrit Code Review about 3 hours ago

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

Also available in: Atom PDF