Project

General

Profile

Actions

Bug #80057

closed

2 or more forms in one page with two separate `Frontend.yaml` files is not possible

Added by Patrick Broens over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-02-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82373: EXT:form - massive performance decrease in page moduleClosedRalf Zimmermann2017-09-08

Actions
Actions

Also available in: Atom PDF