Bug #102670
closedError 503 "UID of file has to be numeric" when using "_blank" in field "Link" in CE
100%
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
Updated by Gerrit Code Review 11 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
Updated by Gerrit Code Review 11 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
Updated by Oliver Bartsch 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f31fd1f53436fcf2e86dfb7d6511438c78117c96.