Bug #80057
closed2 or more forms in one page with two separate `Frontend.yaml` files is not possible
0%
Description
For separate forms, f.i. in different extensions, you would like to have separate Frontend.yaml
files as well. When two or more of these forms are present on one page, only the first Frontend.yaml
file is read and used
The ConfigurationManager
is caching the YAML settings for this first file with the extension key form
, which is used for each and every form on the page.
I have one form defined as follows
tt_content.form1 < tt_content.form_formframework.20 tt_content.form1 { settings =< plugin.tx_form.settings settings { yamlConfigurations { 1487948816 = EXT:form1/Configuration/Yaml/Frontend.yaml } persistenceIdentifier = EXT:form1/Resources/Private/Form/Form.yaml } }
and another one which is the same, but form1
replaced with form2
. The second form is throwing an error that the form mentioned in the persistenceIdentifier can't be loaded, because the persistenceManager
allowedExtensionPaths
does not contain the path to this form.
Setting this globally in plugin.tx_form
is undesired, since you get mixups.