Bug #79250
closed
EXT:form - deactivating allowedFileMounts lets input fields for new form disappear
Added by Tobi Kretschmann almost 8 years ago.
Updated about 6 years ago.
Description
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/
Files
- Assignee set to Ralf Zimmermann
Thanks for your feedback.
I fix this asap.
- Category set to Form Framework
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:
https://code.tritum.de/TYPO3.CMS/ext_form_example1484079334
You can play around with this settings to test the behavior:
https://code.tritum.de/TYPO3.CMS/ext_form_example1484079334/blob/master/Configuration/Yaml/Backend.yaml#L7-8
- Status changed from New to Under Review
Nice work. Thank you. It works perfectly :)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF