Project

General

Profile

Actions

Bug #80043

closed

Upgrade Wizard must only add PK indexes

Added by Thomas Hohn over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Install Tool
Target version:
Start date:
2017-02-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
On Location Sprint

Description

The field "sha1" of table "sys_file" was a tinytext in 6.2 and is a CHAR in master. The key sha1 changed from "KEY sha1 (sha1(40))" to "KEY sha1 (sha1)".

In the update wizards: TYPO3 tries to first change the key and fails here because of field type not being allowed for the new key.

In the DB analyzer: The list of suggested changes offers the sha1 key update as well (preselect by default) and offers the field type change as well (not preselected). Following this "recommendation" fails here as well.

Possible solution:
Since the "Upgrade Wizard" Database analyser only create tables/columns/indexes
in must only take indexes into account that are primary keys - since other indexes
can rely on column updates which are required to be performed before the index
is created.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #80096: [BUGFIX] ConnectionMigrator resets changedColumnsClosedThomas Hohn2017-03-02

Actions
Actions

Also available in: Atom PDF