Bug #85570
closedremoval of form-configuration is not possible if there is a recycler inside the folder-structure
100%
Description
Hi,
with the current release of 8.7.17 the newly introduced ".form.yaml"-extension and the FilePersistenceSlot disallows removing a form-configuration if there is a recycler bin in your folder structure.
This use-case leads to:
#1530281202: Persisting form definition "1:/user_upload/_recycler_/testform.form.yaml" is denied
Current workflow in ext:form on FormManagerController::deleteAction is calling ResourceStorage::deleteFile through FormPersistenceManager::delete.
If there is a "nearestRecyclerFolder" deleteFile will delegate to moveFile but in filePersistenceSLot::onPreMoveFile -> assertFile there is no invocation allowed for this combination (none defined and also none allowed).
A quick (and really dirty) workaround is calling defineInvocation inside of FilePersistenceSlot::onPreFileMove - but this allows moving ".form.yaml" always and should not be used on production environment.
Possibly also a bug in 9.x - not yet tested
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57653
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57653
Updated by Oliver Hader over 6 years ago
- Target version changed from 8.7.19 to 7.6.31 & 8.7.18 & 9.3.3
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57688
Updated by Oliver Hader over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 063c9f32edd01df0a5fb5e3866528bc14083525e.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 9.3 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57729
Updated by Oliver Hader over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset f527d36f3d1199669f9a2f79f118e4aa8fc2cbef.