Bug #67286

InstallTool Database Compare shows all tables missing

Added by Morton Jonuschat 2 months ago. Updated about 1 month ago.

Status:Resolved Start date:2015-06-03
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:DBAL Spent time: -
Target version:-
TYPO3 Version:7 Is Regression:No
PHP Version:5.6 Sprint Focus:
Complexity:

Description

When using the InstallTool with DBAL the Important Actions -> Compare current database with specification wants to create all tables from core and extensions on every invocation.

DBMS: PostgreSQL 9.4
TYPO3: 7.3-dev


Related issues

related to Core - Epic #64459: Make TYPO3 run on PostgreSQL New 2015-01-23
related to Core - Bug #67067: dbal admin_get_tables() returns information in wrong format Resolved 2015-05-20
related to Core - Bug #66671: Install Tool should show the ALTER TABLE instead of CREAT... Closed 2015-04-30

Associated revisions

Revision 2058d65c
Added by Morton Jonuschat about 1 month ago

[BUGFIX] InstallTool: connect to DBMS before retrieving current schema

SqlSchemaMigrationService needs to explicitly connect to the database
before retrieving the current schema. On native MySQL connections this
happens implicitly when using sql_select_db(), on DBAL a connectDB() is
required.

Resolves: #67286
Releases: master, 6.2
Change-Id: I2c93111f1f6919f31d71b4b46fd353d9a3629dbc
Reviewed-on: http://review.typo3.org/39937
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

Revision 96797665
Added by Morton Jonuschat about 1 month ago

[BUGFIX] InstallTool: connect to DBMS before retrieving current schema

SqlSchemaMigrationService needs to explicitly connect to the database
before retrieving the current schema. On native MySQL connections this
happens implicitly when using sql_select_db(), on DBAL a connectDB() is
required.

Resolves: #67286
Releases: master, 6.2
Change-Id: I2c93111f1f6919f31d71b4b46fd353d9a3629dbc
Reviewed-on: http://review.typo3.org/40046
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

History

#1 Updated by Gerrit Code Review 2 months 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 http://review.typo3.org/39937

#2 Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40046

#3 Updated by Morton Jonuschat about 1 month ago

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

Also available in: Atom PDF