Bug #92363
closedEpic #92636: felogin bug collection
Flexform always overwrites TS-Settings in Extbase-Version
0%
Description
With the old pibase-version the flexform-values where only used when not empty (see FrontendLoginController->mergeflexFormValuesIntoConf), otherwise the values definied by typoscript where taken into account.
The new version always uses the values from flexform, as the fieldnames start with "settings." and - as far as I understand - Extbase automatically merges such fields with the typoscript plugin-settings, overriding the typoscript settings.
This is especially relevant for the fields on the redirect sheet of the flexform (the label for redirectMode still states that "TS or flexform" would be used even in the extbase version).
Example:
This works with the piBase-Version (used it already in 6.2, but works also in current 10.4.8) when leaving the related flexform field empty:
plugin.tx_felogin_pi1.redirectPageLogin = xxx
Whereas with the extbase version, this
plugin.tx_felogin_login.settings.redirectPageLogin = xxx
ends up with redirectPageLogin = '' (empty string) in the settings-array.
Do I miss a new way to set these values with typoscript?
If not, I guess there are two possible ways to allow the same behavior as with the pibase version:
a) renaming the fields in flexform, so that extbase doesn't merge them automatically, and use the logic in mergeflexFormValuesIntoConf of the pibase version
b) allowing something like "settings.override.xxx" and merging these values over flexform values before usage