Project

General

Profile

Actions

Task #105269

open

Consider to change TypoScript configuration in ext:felogin

Added by Torben Hansen about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Could have
Assignee:
Category:
felogin
Start date:
2024-10-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
breaking
Complexity:
Sprint Focus:

Description

ext:felogin uses a plugin specific TypoScript configuration by default plugin.tx_felogin_login. This makes it impossible to override plugin settings, when the felogin plugin is includes via TypoScript (USER or EXTBASEPLUGIN), since extbase configurationManager always prefers plugin specific configuration and thereby overrides possible configuration defined in USER or EXTBASEPLUGIN.

It should therefore be considered to rename the TypoScript configuration to plugin.tx_felogin in TYPO3 v14 as a breaking change


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #105256: TypoScript USER / EXTBASEPLUGIN does not set settingsClosed2024-10-09

Actions
Actions #1

Updated by Torben Hansen about 1 month ago

  • Related to Bug #105256: TypoScript USER / EXTBASEPLUGIN does not set settings added
Actions #2

Updated by Torben Hansen about 1 month ago

  • Category set to felogin
Actions #3

Updated by Garvin Hicking about 1 month ago

  • Tags set to breaking
Actions #4

Updated by Tobias Jungmann about 1 month ago

I thought about it a while and in my opinion this is not the best solution.

Imagine having 2 plugins instead of only one in the felogin extension. You then wouldn't want to define the settings in tx_felogin because the two extensions have different settings configuration and you maybe want to define settings.pages differently for each plugin.

In that case you would have to define the settings for tx_felogin_login and tx_felogin_newplugin. But that again would lead to the problem, that USER or EXTBASEPLUGIN or FlexForms configuration would be overriden by those settings. To achieve the flexebility (that was given until v12), you would have to add an extension per plugin.

Which leads as back to #105256, where @Torben Hansen mentioned:

Changing extbase configuration manager is no option here

But I really think, It should be an option. As a developer i'ts not logical, that a less specific configuration (e.g. tx_felogin_login) overrides a more specific configuration (e.g. EXTBASEPLUGIN, the concrete plugin configuration; FlexForms).

Actions

Also available in: Atom PDF