Issue Bug Closed

#109983LanguageService with colon and point in label throws an exception

Achim Fritz 06/03/26, 13:09 updated 08/11/26, 08:50

Description

e.g.

$GLOBALS['LANG']->sL('a.b:c');

throws an InvalidArgumentException
Package with key “a” not found

(this happens also in BE if you want to edit an record with such a syntax in label field, e.g. tt_content.header=“29.04.202616:00” leads to

!
!Screenshot%202026-06-03%20at%2015.07.59.png

Reviews 2

Files 1

History 59

  1. Gerrit Code Review pushed patch set 1 for main to change 94300 status New Under Review 06/03/26, 13:14

  2. Achim Fritz commented 06/03/26, 13:43

    i have provide a test, https://review.typo3.org/c/Packages/TYPO3.CMS/+/94300 not sure how to solve, may be fetching the Exception
    in an try/catch block?

  3. Garvin Hicking changed category 06/03/26, 19:45

  4. Garvin Hicking changed Related to #110006 06/05/26, 11:02

  5. Gerrit Code Review pushed patch set 2 for main to change 94300 06/12/26, 09:44

  6. Gerrit Code Review pushed patch set 3 for main to change 94300 06/12/26, 09:49

  7. Gerrit Code Review pushed patch set 1 for 14.3 to change 94504 06/12/26, 10:31

  8. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 06/12/26, 10:35

    Applied in changeset commit:b5267a0ff9402707b0d6d83576cb5811e1d4b1d6.

  9. Benni Mack changed status Resolved Closed 08/11/26, 08:50