[BUGFIX] Correct order of key / field deletion 81/22581/9
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Wed, 12 Nov 2014 23:15:29 +0000 (00:15 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 13 Nov 2014 17:29:02 +0000 (18:29 +0100)
commit1e2fbf9487db73fbcc9510dddee30909e65f13fc
treeeff3ab62a8b31ab1e5118e4bd280f0a644df6308
parent0724d173e38238a8cc1f0312aeaf078d6b660260
[BUGFIX] Correct order of key / field deletion

Prevent an SQL error when deleting a key and the field belonging
to the key in the install tool at the same time.

Therefore the order of deleting keys and fields is changed from
field first and key second to key first and field second.

Resolves: #50450
Releases: master, 6.2
Change-Id: I30aff6ea6c2bf01dec6197eec8fd3aa7306cfcbb
Reviewed-on: http://review.typo3.org/22581
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/install/Classes/Service/SqlSchemaMigrationService.php
typo3/sysext/install/Tests/Functional/SqlSchemaMigrationServiceTest.php [new file with mode: 0644]