Task #53988

First Time Installation doesn't need a "beforePackageStatesMigration.php" file

Added by Ernesto Baschny over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2013-11-26
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Install Tool Spent time: -
Target version:6.2.0
TYPO3 Version:6.2 Complexity:
PHP Version: Sprint Focus:

Description

For a dummy blank new installation the Installer creates a LocalConfiguration.php in "old-school" way (with extList) and then converts that to PackageStates and moves the old file to LocalConfiguration.beforePackageStatesMigration.php.

This is ugly, as you find yourself with "old files" while you are just installing it for the first time.

Could be streamlined, so that the first time installation activates the packages automatically.


Related issues

related to Core - Bug #55555: Cleanup EXT/requiredExt handling Resolved 2014-02-01
related to Core - Bug #57458: Failed to write LocalConfiguration.php backup Resolved 2014-03-31

Associated revisions

Revision e755bcd9
Added by Christian Kuhn over 1 year ago

[TASK] Default active extension handling in package manager

Integrate the definition of packages that should be activated at
first installation and packages that are required for a minimal
usable system in the package manager.

There are now three possible properties in Classes/Package.php:

  • protected - Package can not be uninstalled in em.
  • partOfFactoryDefault - Package is activated at first installation.
  • partOfMinimalUsableSystem - Package is activated if
    PackageStates.php is missing. extensionmanager and t3skin are
    affected here, if PackageStates.php is deleted, the install tool
    will create a new one with those packages activated, so the backend
    is "usable" enough to activate further packages.

Resolves: #53988
Releases: 6.2
Change-Id: I4f5d3f0a7d3bcf332d1e8e6c29156f93bae8029c
Reviewed-on: https://review.typo3.org/27226
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27226

#2 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27226

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27226

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27226

#5 Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27226

#6 Updated by Christian Kuhn over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF