Task #72290

wizardsDone should be saved in database instead of LocalConfiguration File

Added by Philipp Wrann almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2015-12-17
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When handling Projects with multiple instances i think it would be better to store the WizardsDone section in the database instead of saving it in LocalConfiguration.php

99% of migration done in upgradeWizards affects the database and the local state of the application, the LocalConfiguration.php should be consistent over all instances though.

In a common deployment process i would have to process upgrade wizards on the production machine and then pull the changes in LocalConfiguration.php from the production machine.

With the current handling it can happen, that i do the upgrade wizards on a local dev instance and add the LocalConfiguration changes to the repository, when deploying the latest version the production environment "thinks" all wizards have been processed.

I suggest to save the wizards section in sys_registry instead.

Associated revisions

Revision 6f7b5452 (diff)
Added by Mathias Brodala over 3 years ago

[TASK] Move install update flags to system registry

This moves the install update (aka "wizards") flags from
LocalConfiguration.php to the system registry and thus
into the database.

Resolves: #72290
Releases: master
Change-Id: Id319fa46d61e862e2429b93aedc7900315526e82
Reviewed-on: https://review.typo3.org/46904
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#2 Updated by Morton Jonuschat almost 4 years ago

  • Target version deleted (8 LTS)

#3 Updated by Paul van Hemmen over 3 years ago

+1

#4 Updated by Gerrit Code Review over 3 years ago

  • Status changed from New 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/46904

#5 Updated by Gerrit Code Review over 3 years 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/46904

#6 Updated by Gerrit Code Review over 3 years 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/46904

#7 Updated by Gerrit Code Review over 3 years 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/46904

#8 Updated by Gerrit Code Review over 3 years 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/46904

#9 Updated by Mathias Brodala over 3 years ago

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

#10 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF