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 #1

Updated by Benni Mack over 7 years ago

  • Target version changed from 8 LTS to Candidate for patchlevel
Actions #2

Updated by Riccardo De Contardi over 7 years ago

  • Related to Feature #81775: EXT:form - add the possibilty to use the same form multiple times on one page added
Actions #3

Updated by Björn Jacob about 7 years ago

  • Sprint Focus set to Remote Sprint
Actions #4

Updated by Ralf Zimmermann about 7 years ago

  • Related to deleted (Feature #81775: EXT:form - add the possibilty to use the same form multiple times on one page)
Actions #5

Updated by Björn Jacob almost 7 years ago

  • Sprint Focus deleted (Remote Sprint)
Actions #6

Updated by Ralf Zimmermann almost 7 years ago

  • Related to Bug #82373: EXT:form - massive performance decrease in page module added
Actions #7

Updated by Ralf Zimmermann almost 7 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Patrick Broens

This should be fixed since #82373.
I have tested your setup successfully.
Can you confirm this?

Actions #8

Updated by Björn Jacob over 6 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Patrick Broens)
  • Target version deleted (Candidate for patchlevel)

No Feedback since nearly 3 months. I am closing this issue. If the problem still exists please re-open this issue or create a new one. Thx mate!

Actions

Also available in: Atom PDF