Bug #51357

Task #49162: Rewrite install tool

Install tool database select during upgrading

Added by Christian Kuhn almost 2 years ago. Updated almost 2 years ago.

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

100%

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

Description

Suppose you have a if or switch/case construct in localconf.php to handle different database settings for different hosts in the file.

If upgrading this to 6.2, it may happen that the wrong database name is transferred to LocalConfiguration.php. In effect, the "DatabaseSelect" step will be rendered.

If that happens, it would be useful if not only "empty" databases with no tables are displayed in the "select existing database" drop-down, but also existing tables with tables. Furthermore, the "create new database" input field should be removed if ugrading (not in first install).

Associated revisions

Revision c39739f0
Added by Michiel Roos almost 2 years ago

[FEATURE] Install tool database select during upgrading

- Detect if SYS/isInitialInstallationInProgress is set
- If set: Show form for creating or selecting empty db
- If not set: Show all databases the user has access to

Change-Id: Ifaa1678f8ab1eaacec944e6dddf7d23babb804cf
Resolves: #51357
Releases: 6.2
Reviewed-on: https://review.typo3.org/23329
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Alexander Böhm
Tested-by: Alexander Böhm
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

History

#1 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23329

#2 Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23329

#3 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23329

#4 Updated by Gerrit Code Review almost 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23329

#5 Updated by Michiel Roos almost 2 years ago

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

Also available in: Atom PDF