Project

General

Profile

Actions

Bug #89460

open

Epic #89731: Configuration streamlining

Form module does not recognize form setups in other than 1st root-page

Added by Bastian Stargazer about 5 years ago. Updated over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Start date:
2019-10-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This bug took me ages to figure out, because no error is thrown!
If you have 2 or more site-roots (for 2 or more different websites in one T3 instance), the backend form-module lists only forms defined in the first root-page. All definitions in the 2nd or following site-roots are ignored.

Example setup:

MyT3Instance
- FirstSiteRoot (UID 1)
  - SubPage1
  - SubPage2
  - ...
- SecondSiteRoot (UID 9)
  - SubPage1
  - SubPage2
  - ...

Inside the template of FirstSiteRoot I include the bootstrap_package, which comes with a custom form-setup.

module.tx_form.settings.yamlConfigurations.110 = EXT:bootstrap_package/Configuration/Form/Setup.yaml

Inside the template of SecondSiteRoot I include the bootstrap_package, AND have also a custom form-setup in user_mysecondsiteextension.

module.tx_form.settings.yamlConfigurations.300 = EXT:user_mysecondsiteextension/Configuration/Form/MyCustomSetup.yaml

If you select the form-module now, you'll see ONLY the "Contact Form" defined by bootstrap_package (EXT:bootstrap_package/Resources/Private/Forms/Contact.form.yaml),
because it seems the form-module recognizes ONLY form setups from the first occurring page-root in the sitetree.
If you now move up the SecondSiteRoot BEFORE the FirstSiteRoot, the form-module lists both forms (the bootstrap_package one and EXT:user_mysecondsiteextension/Resources/Private/Form/mycustom.form.yaml)

Expected behaviour:
The form-module should look into ALL root-pages and list all forms which it finds.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #87816: Allow form configuration by rootlineNew2019-02-28

Actions
Actions #1

Updated by Susanne Moog about 5 years ago

  • Sprint Focus set to Remote Sprint
Actions #2

Updated by Mathias Brodala about 5 years ago

  • Related to Epic #89731: Configuration streamlining added
Actions #3

Updated by Riccardo De Contardi about 5 years ago

  • Parent task set to #89731
Actions #4

Updated by Mathias Brodala about 5 years ago

  • Sprint Focus deleted (Remote Sprint)
Actions #5

Updated by Björn Jacob over 4 years ago

  • Sprint Focus set to Remote Sprint
Actions #6

Updated by Mathias Brodala about 4 years ago

  • Related to Feature #87816: Allow form configuration by rootline added
Actions #7

Updated by Björn Jacob over 3 years ago

  • TYPO3 Version changed from 9 to 11

We will work on this (having a page tree etc.) in v12.

Actions #8

Updated by Björn Jacob over 3 years ago

  • Target version changed from next-patchlevel to Candidate for Major Version
  • Sprint Focus deleted (Remote Sprint)
Actions

Also available in: Atom PDF