b13 / bolt

Easier integrations for TYPO3 sites
GNU General Public License v2.0
27 stars 13 forks source link

FormFramework not working (T3 v12) #31

Closed h3nn3s closed 1 year ago

h3nn3s commented 1 year ago

Hi,

we discovered a problem between EXT:bolt and EXT:form in TYPO3 v12. For v11 we cannot test this. I am not really sure this is a bolt issue or one from Core/FormFramework.

First Problem: Opening the backend module gives the following exception. The complete module is not shown (1/1) TypeError TYPO3\CMS\Form\Controller\AbstractBackendController::resolveResourcePaths(): Argument #1 ($resourcePaths) must be of type array, null given, called in /var/www/html/vendor/typo3/cms-form/Classes/Controller/FormManagerController.php on line 80

Second Problem: In Plugin, there are no forms selectable. Only the default placeholder "please select" is there.

Cause of Problem: After some research I could say, that the typoscript settings/configuration cannot be loaded. Because of missing typoscript extension settings there is an exception thrown in module. Because of missing Form YamlConfiguration there are now forms selectable in plugin.

Hacky workaround solution: After adding a sys_template record directly via DB and including at least the static templates of EXT:fluid_styled_content and EXT:form makes the errors go away. Even if the sys_template records is set to hidden. When I set the "deleted" flags, the errors are back again.

h3nn3s commented 1 year ago

I would say, thats a core problem: https://forge.typo3.org/issues/99458