Issue Bug Closed

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

Tobias Jungmann 12/14/23, 13:40 updated 07/09/24, 15:12

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.

clipboard-202312141430-aes2g.png

Reviews 2

Files 1

History 35

  1. Tobias Jungmann changed description 12/14/23, 13:43

  2. Gerrit Code Review pushed patch set 1 for main to change 82201 status New Under Review 12/18/23, 08:55

  3. Gerrit Code Review pushed patch set 1 for 12.4 to change 82212 12/18/23, 10:55

  4. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % 12/18/23, 11:10

    Applied in changeset commit:f31fd1f53436fcf2e86dfb7d6511438c78117c96.

  5. Benni Mack changed status Resolved Closed 07/09/24, 15:12