[BUGFIX] Correct order of key / field deletion 01/34101/2
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:54:04 +0000 (18:54 +0100)
commit098522b9192dc2fd0b979064b297799d8c99a7d2
tree2a3ca4544335172b99921cb515d7ce6a364451eb
parent00006b57c1efc6ec9782fae2a25df075ac1492f2
[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/34101
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]