Project

General

Profile

Actions

Bug #101083

closed

Relative path creation not posible. Link type "unknown" is not allowed for the field "target" of the table "sys_redirect"

Added by Joerg Boesche 11 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
Redirect Handling
Target version:
Start date:
2023-06-15
Due date:
% Done:

100%

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

Description

When creating a redirect with a relative path in the target field, the mentioned error message is generated.
The documentation mentions that relative paths are possible. https://docs.typo3.org/c/typo3/cms-redirects/main/en-us/Usage/Index.html#confval-Target

In the T3 v12 I encounter the mentioned error. If the host is a wildcard, I can't store a fixed domain at the target, but the relative path on the currently requested domain must take effect. I can't expect the editors to use a regexp expression. ;-)

Example:
Host: *
Source: /en/imprint
Target: /en/customRedirectPath/imprint

Error message:
1: Link type "unknown" is not allowed for the field "target" of the table "sys_redirect".


Files

clipboard-202402011459-uykbx.png (54.2 KB) clipboard-202402011459-uykbx.png Karsten Nowak (undkonsorten), 2024-02-01 13:59

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #101709: TypoLink forceAbsoluteUrl is not working anymore on processed image resources from static filesResolved2023-08-18

Actions
Related to TYPO3 Core - Bug #103387: Setting a relative target for `sys_redirects` not workingResolvedStefan Bürk2024-03-13

Actions
Actions #1

Updated by Gerrit Code Review 10 months 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/+/79698

Actions #2

Updated by Gerrit Code Review 10 months 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/+/79698

Actions #3

Updated by Gerrit Code Review 10 months ago

Patch set 3 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/+/79698

Actions #4

Updated by Gerrit Code Review 10 months ago

Patch set 4 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/+/79698

Actions #5

Updated by Gerrit Code Review 10 months ago

Patch set 5 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/+/79698

Actions #6

Updated by Gerrit Code Review 10 months ago

Patch set 6 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/+/79698

Actions #7

Updated by Gerrit Code Review 10 months ago

Patch set 7 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/+/79698

Actions #8

Updated by Gerrit Code Review 10 months ago

Patch set 8 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/+/79698

Actions #9

Updated by Gerrit Code Review 10 months ago

Patch set 9 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/+/79698

Actions #10

Updated by Gerrit Code Review 10 months ago

Patch set 10 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/+/79698

Actions #11

Updated by Gerrit Code Review 10 months ago

Patch set 11 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/+/79698

Actions #12

Updated by Gerrit Code Review 10 months ago

Patch set 1 for branch 12.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/+/79734

Actions #13

Updated by Stefan Bürk 10 months ago

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

Updated by Oliver Hader 9 months ago

  • Related to Bug #101709: TypoLink forceAbsoluteUrl is not working anymore on processed image resources from static files added
Actions #15

Updated by Karsten Nowak (undkonsorten) 3 months ago

Is this patch already merged?

It's not working in TYPO3 12.4.10

Actions #16

Updated by Josef Glatz about 2 months ago

We can reproduce the problem described by Karsten in actual 12.4.stable. Looks like a regression anywhere in 12.4?

Actions #17

Updated by Josef Glatz about 2 months ago

  • Status changed from Resolved to Accepted
Actions #18

Updated by Stefan Bürk about 2 months ago

  • Related to Bug #103387: Setting a relative target for `sys_redirects` not working added
Actions #19

Updated by Stefan Bürk about 2 months ago

  • Status changed from Accepted to Resolved

Josef Glatz wrote in #note-16:

We can reproduce the problem described by Karsten in actual 12.4.stable. Looks like a regression anywhere in 12.4?

Created a new issue => #103387 and closing this issue as resolved (due to merged connected changes).

Actions

Also available in: Atom PDF