Issue Bug Closed

#104726Constants used within TypoScript setup text are not correctly displayed in "Active TypoScript"

Lina Wolf 08/25/24, 10:06 updated 12/02/25, 14:33

Description

Using the current main branch of the TYPO3 mono repository

I create one TypoScript backend root record and add the following:

  1. Constants:
    tx_my_sitepackage {
        bgCol = bg-primary
        file.toplogo = EXT:my_sitepackage/Resources/Public/Images/Logo.png
    }
  1. Setup:
    page = PAGE
    page {
        typeNum = 0
        bodyTag = <body class="{$tx_my_sitepackage.bgCol}">
        10 = IMAGE
        10.file = {$tx_my_sitepackage.file.toplogo}
    }

When “Show constant usage” is enabled there is an empty label and the constants are replaced without beeing marked:
clipboard-202408251203-g6vjo.png

This behaviour is different from how constant usage from TypoScript from extensions is displayed:
clipboard-202408251205-e2l2l.png

Reviews 1