Project

General

Profile

Actions

Bug #102670

closed

Error 503 "UID of file has to be numeric" when using "_blank" in field "Link" in CE

Added by Tobias Jungmann 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2023-12-14
Due date:
% Done:

100%

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

Description

It is possible to add the target "_blank" to a URL defined in the field "Link" of a content element.
However, when you forget the space between a TYPO3-URL, e.g. "t3://file?uid=123_blank" instead of "t3://file?uid=123 _blank" then you get the error "The UID of file has to be numeric".

In TYPO3 v11 the content element will be saved but cannot be edited anymore. And the page cannot be loaded. If you want to hide the element the error also occurs (but the element is hidden then).

In TYPO3 v12 the content element will not be saved. So you can edit it afterwards.

In both, v11 and v12, the error only shows up if you use "file" in the URL, but not, if you use "page", e.g. "t3://page?uid=123_blank".

It's not a big deal, but for editors this error is confusing.


Files

clipboard-202312141430-aes2g.png (40.1 KB) clipboard-202312141430-aes2g.png Tobias Jungmann, 2023-12-14 13:30
Actions #1

Updated by Tobias Jungmann 5 months ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review 5 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/+/82201

Actions #3

Updated by Gerrit Code Review 5 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/+/82212

Actions #4

Updated by Oliver Bartsch 5 months ago

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

Also available in: Atom PDF