[TASK] Only show active packages in PackageStates.php 89/46389/20
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Sun, 31 Jan 2016 18:45:23 +0000 (19:45 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 20 Apr 2016 14:30:23 +0000 (16:30 +0200)
commit077d5d9071df5f0b5df7217e2402b0eebe4017dd
treecc574c7d462a17388881be16cf2b20769ecaa50b
parent27e381458d86e35cccd27a82e2657b5a7a072bac
[TASK] Only show active packages in PackageStates.php

Update the version to 5 and include a list of active packages,
everything else is stored in the core cache, and not needed
to be stored.

Note: the order of the package keys in the DependencyResolver
tests is changed intentionally. The order created by the
DependencyResolver has not changed. The tests did not
detect any difference in the order because we had an
associative array before (now it is indexed where the order
is relevant).

Resolves: #73041
Releases: master
Change-Id: I34e0c89efbef306ce49823069bd9dd4c38fa3091
Reviewed-on: https://review.typo3.org/46389
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Classes/Package/DependencyResolver.php
typo3/sysext/core/Classes/Package/FailsafePackageManager.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Classes/Package/UnitTestPackageManager.php
typo3/sysext/core/Documentation/Changelog/master/Important-73041-PackageStatesIncludesOnlyActivePackages.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Testbase.php
typo3/sysext/core/Tests/Unit/Package/DependencyResolverTest.php
typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php