Project

General

Profile

Actions

Bug #102760

open

ext_conf_template.txt is parsed inconsistently, leading to missing configuration fields

Added by Christian Spoo 4 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2024-01-05
Due date:
% Done:

0%

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

Description

If I have an extension with the following ext_conf_template.txt:

# cat=foo//0; type=boolean; label=some config
bar = 0

# cat=foo//1; type=boolean; label=other config
baz = 0

only the second configuration option is shown in the Backend. However, if I replace the double slashes with single ones, like so:
# cat=foo/0; type=boolean; label=some config
bar = 0

# cat=foo/1; type=boolean; label=other config
baz = 0

both options are shown. As the documentation defines ext_conf_template.txt's syntax to be similar to the one used for the TS constants editor, I think this is a bug. The examples above are comparable to those in the documentation (https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/UsingSetting/TheConstantEditor.html#id3).


Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Christian Kuhn 4 months ago

Actions

Also available in: Atom PDF