Bug #106506
openSave of a form results in 503 on read only systems
0%
Description
Forms from folders that are not writable should not be editable:
When a form is saved in a readonly system, a 503 error occurs.
Forms that cannot be saved should also not be editable.
Files
Updated by Andreas Kienast 23 days ago
- Status changed from New to Needs Feedback
Could you please provide a stack trace? I just tried to reproduce this, I get a notification that saving the form was not possible.
Updated by Christian Rath-Ulrich 21 days ago
ยท Edited
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Exception::__construct(): Argument #1 ($message) must be of type string, null given | TypeError thrown in file /app/vendor/typo3/cms-form/Classes/Mvc/Configuration/YamlSource.php in line 126. Requested URL: https://<URL>/typo3/module/web/FormFormbuilder/FormEditor/saveForm?token=--AnonymizedToken--
I try to reproduce the error on my locale machine but as it's not read-only its not easy
as far as I understand the part of the code the problem is that on line 126 (in version 12) 112 in version 14 of cms-form/Classes/Mvc/Configuration/YamlSource.php see https://github.com/TYPO3/typo3/blob/da29fc6fe375cc03ea870f79697e7a7458de2402/typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php#L112
if error_get_last() does not return a valid array with a message key, the constructor of the Exception dies
Important site note the system runs on k8s