Bug #78529
closedException thrown in Install Tool > Upgrade Wizard
100%
Description
In case of wrong ext_tables.php file - e.g. a missing comma - the UpgradeWizard in Install tool throws an exception.
This can be tested, by removing a comma after a column definition.
example:
no error, SQL is correct
CREATE TABLE tx_foo_bar ( uid int(11) NOT NULL auto_increment, pid int(11) DEFAULT '0' NOT NULL, tstamp int(11) DEFAULT '0' NOT NULL, crdate int(11) DEFAULT '0' NOT NULL, title tinytext, description text, content text, PRIMARY KEY (uid), KEY parent (pid) );
error, SQL is NOT correct, missing comma after column title
CREATE TABLE tx_foo_bar ( uid int(11) NOT NULL auto_increment, pid int(11) DEFAULT '0' NOT NULL, tstamp int(11) DEFAULT '0' NOT NULL, crdate int(11) DEFAULT '0' NOT NULL, title tinytext description text, content text, PRIMARY KEY (uid), KEY parent (pid) );
To reproduce this issue:
1) use any ext_tables.sql file and remove a comma.
2) Go to Install Tool
3) Click on Upgrade Wizard
=> Exception thrown
Updated by Gerrit Code Review almost 8 years ago
- Status changed from In Progress to Under Review
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/50469
Updated by Gerrit Code Review almost 8 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/50469
Updated by Gerrit Code Review almost 8 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/50469
Updated by Frank Nägler almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1211ada46f49d1a8e9f185e32091d61fd3c4b0f9.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed