TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #59344
Issue Bug Closed

#59344Condition globalString with LIT: is not true if left and right of condition are empty strings

Marc Bastian Heinrichs 06/04/14, 16:35 updated 10/02/18, 11:56

Open in Forge Comment in Forge

Description

An empty “LIT:” results in NULL, so the strict compare doesn’t match.

Solution is to cast the left value to string before, like it’s done later in the preg_match.

Reviews 3

  • TYPO3_6-1 30992[BUGFIX] Fix empty globalString LIT condition comparison Resolves this issue Merged Markus Klein CR +2 V +2 → 6.3, 6.2, 6.1 Normal +35 −16 06/21/14, 09:51
  • TYPO3_6-2 30985[BUGFIX] Fix empty globalString LIT condition comparison Resolves this issue Merged Wouter Wolters CR +2 V +2 → 6.3, 6.2, 6.1 Easy +32 −13 06/21/14, 08:10
  • main 30559[BUGFIX] Fix empty globalString LIT condition comparison Resolves this issue Merged Marc Bastian Heinrichs CR +2 V +2 → 6.3, 6.2, 6.1 Easy +32 −13 06/20/14, 22:24

Related issues 1

  • Bug #45183Condition globalString is not true if left and right of condition are empty strings Related to Closed TypoScript v6.0 Marc Bastian Heinrichs 02/05/13, 19:42
Assigned to
Marc Bastian Heinrichs
Author
Marc Bastian Heinrichs
Priority
Should have
Category
TypoScript
Target version
next-patchlevel
TYPO3 version
6.1
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback