[BUGFIX] The form upgrade wizard must update all plugin settings 31/57731/4
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Thu, 12 Jul 2018 20:48:42 +0000 (22:48 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 30 Jul 2018 21:45:23 +0000 (23:45 +0200)
commit3a85f685b674411ef7422c46a8b3d395e787f333
tree4bf098240bea0a61b7ec0507288e2949ea6e480d
parent8af68b116c62c8ba66080376623ed39f55f5589e
[BUGFIX] The form upgrade wizard must update all plugin settings

The form definition renaming upgrade wizard renames the persistence
identifier within the form plugin flexform.
As a result, finisher overrides can no longer be properly assigned.
This patch adds an upgrade wizard which will be able to restore these
finisher overrides.

Resolves: #85544
Releases: master, 8.7
Change-Id: Idf1ffd8432fed88431b9a0feb407f42df3304401
Reviewed-on: https://review.typo3.org/57731
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php
typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php
typo3/sysext/form/Tests/Functional/Hooks/Fixtures/test_resources/Configuration/Form/legacy.yaml [new file with mode: 0644]
typo3/sysext/form/Tests/Functional/Hooks/Fixtures/test_resources/Configuration/Form/updated.form.yaml [new file with mode: 0644]
typo3/sysext/form/Tests/Functional/Hooks/Fixtures/test_resources/Configuration/Yaml/AllowedExtensionPaths.yaml [new file with mode: 0644]
typo3/sysext/form/Tests/Functional/Hooks/Fixtures/test_resources/ext_emconf.php [new file with mode: 0644]
typo3/sysext/form/Tests/Functional/Hooks/FormFileExtensionUpdateTest.php [new file with mode: 0644]