EXT:form - deactivating allowedFileMounts lets input fields for new form disappear
If you overwrite the allowedFileMount in BaseSetup.yaml with null because you have activated the allowSaveToExtensionPaths, the wizard to create a new form does not show the input fields for Form name and advanced settings anymore.
TYPO3: CMS: Form: persistenceManager: allowedFileMounts: 10: null allowSaveToExtensionPaths: true allowedExtensionPaths: 100: EXT:myext/Resources/Private/Forms/
Updated by Ralf Zimmermann almost 4 years ago
This is somewhat misleading.
"allowSaveToExtensionPaths" is intended to make existing forms within extension locations (defined by "allowedExtensionPaths") editable.
Currently this does not mean "Save new created forms to extension locations".
You want to to ensure that forms can no longer be stored in filemounts, but in extension locations.
I hacked some code to achive this.
With this patch is it possible to
- save existing forms within extension locations ("allowedExtensionPaths") if "allowSaveToExtensionPaths" is set to true (like before)
- save new created forms within extension locations ("allowedExtensionPaths") if "allowSaveToExtensionPaths" is set to true
- delete forms within extension locations ("allowedExtensionPaths") if "allowDeleteFromExtensionPaths" is set to true
In addition, I've included bug fixes for the case if no paths are defined.
You can simply test the patchset with this little example extension:
You can play around with this settings to test the behavior: