[BUGFIX] Save PackageStates.php after deletion 41/40041/2
authorNicole Cordes <typo3@cordes.co>
Sat, 6 Jun 2015 10:56:20 +0000 (12:56 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 6 Jun 2015 14:25:58 +0000 (16:25 +0200)
commit0752c53eb754f0bde6ee1b8e1dbd5b017efffe23
treec421678d1f956824b4f933410de8c498623bb3cf
parent18756aed907168fb51c08e4954df583fd041312d
[BUGFIX] Save PackageStates.php after deletion

If you delete an extension in EM, the PackageManager currently saves
a broken PackagesStates.php with invalid extension information.

This patch adds a missing save invocation for the changed
PackageStatesConfiguration. Furthermore a new path check is executed
while restoring the PackageStatesConfiguration because otherwise a
package with a wrong packagePath is registered.

Resolves: #67294
Releases: master
Change-Id: I9ad3b56a382f980e703009f8343ddb151ef4a8b1
Reviewed-on: http://review.typo3.org/40041
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Package/PackageManager.php