Project

General

Profile

Actions

Bug #104726

closed

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

Added by Lina Wolf 2 months ago. Updated 11 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2024-08-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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
        }
    
    
  2. 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:

This behaviour is different from how constant usage from TypoScript from extensions is displayed:


Files


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #97816: New TypoScript parserClosed2022-06-27

Actions
Related to TYPO3 Core - Task #104325: Prepare stateless DiffUtilityClosed2024-07-06

Actions
Actions

Also available in: Atom PDF