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. Achim Fritz commented <span data-processor="relativetime" data-value="2026-06-03T13:43:57+00:00" > 06/03/26, 13:43 </span>

    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?

  2. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-06-12T10:35:08+00:00" > 06/12/26, 10:35 </span>

    Applied in changeset commit:b5267a0ff9402707b0d6d83576cb5811e1d4b1d6.