Issue Bug Closed

#79933TypoScript conditions ignored inside included constants file

Christian Müller 02/21/17, 09:12 updated 10/14/21, 11:35

Description

My example condition:

[userFunc = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('indexed_search')]
  <INCLUDE_TYPOSCRIPT: source="FILE:EXT:indexed_search/Configuration/TypoScript/constants.txt">
[end]

The condition above inside ‘ext_key/Configuration/TypoScript/constants.ts’ works just fine.
If we use this condition in a separate file e.g. ‘ext_key/Configuration/TypoScript/Includes/MoreConst.ts’ which was included in the first file (constants.ts),
the following error appears in TypoScript Object Browser:
> Warning : File “EXT:indexed_search/Configuration/TypoScript/constants.txt” was not found.
Indexed search is not installed/activated.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.