Bug #83311
closed
Not able to open de BE Web -> Forms module
Added by Frans Saris almost 7 years ago.
Updated about 6 years ago.
Description
When running in development context you are not able to open de Web -> Forms module due to a php error:
Argument 1 passed to TYPO3\CMS\Form\Controller\AbstractBackendController::resolveResourcePaths() must be of the type array, null given, called in vendor/typo3/cms/typo3/sysext/form/Classes/Controller/FormManagerController.php on line 63
TypeError thrown in file
vendor/typo3/cms/typo3/sysext/form/Classes/Controller/AbstractBackendController.php in line 76.
15 TYPO3\CMS\Form\Controller\AbstractBackendController::resolveResourcePaths(NULL)
vendor/typo3/cms/typo3/sysext/form/Classes/Controller/FormManagerController.php:
00061:
00062: $this->view->assign('forms', $this->getAvailableFormDefinitions());
00063: $this->view->assign('stylesheets', $this->resolveResourcePaths($this->formSettings['formManager']['stylesheets']));
00064: $this->view->assign('dynamicRequireJsModules', $this->formSettings['formManager']['dynamicRequireJsModules']);
00065: $this->view->assign('formManagerAppInitialData', $this->getFormManagerAppInitialData());
- Description updated (diff)
We've encountered the same issue, starting with 8.7.9 (and tested to confirm: 8.7.8 is not affected as far as we see).
Same issue here since 8.7.9 when running in Production context (without the stack trace obviously).
I see a lot of breaking changes for EXT:form coming with patch level releases. Please reconsider how fixes are merged in order to prevent things like this in the future.
I can reproduce this behavior by updating to 8.7.9 from 8.7.8.
Christian Pahren wrote:
I can reproduce this behavior by updating to 8.7.9 from 8.7.8.
It does'nt happen the first time you click on "Forms", after unistall and reinstall of EXT:form, but the second time, the error happens.
Renzo Bauen wrote:
Christian Pahren wrote:
I can reproduce this behavior by updating to 8.7.9 from 8.7.8.
It does'nt happen the first time you click on "Forms", after unistall and reinstall of EXT:form, but the second time, the error happens.
After uninstalling and then reinstalling forms 8.7.9, i may access the Forms Backend Module. Forms are also correctly rendered in frontend context. The error occurs again after refreshing the system cache. However i can not reproduce this behavior safely as it seems to occur erratic.
Frans Saris wrote:
When running in development context you are not able to open de Web -> Forms module due to a php error:
[...]
Is your form still working in frontend?
I have the same error an my forms in backend and in frontend i can't submit the form.
https://www.pro-webs.de/unternehmen/kontakt/
The behavior seems to be the result of an configuration error that existed before, but results in an error being thrown since TYPO3 core 8.7.9
Whe had additional form configuration which is included during backend rendering via \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup() but is missing during frontend rendering by not having set plugin.tx_form.settings.yamlConfigurations. (i.e. plugin.tx_form.settings.yamlConfigurations.101 = Ext:foo/bar/baz.yaml)
Providing all configuration files in backend and frontend context has the has fixed the Issue for us.
I'm also using 8.7.9 and I have the same problem .
- Status changed from New to Accepted
- Assignee set to Ralf Zimmermann
Can reproduce. Will provide a fix soon.
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF