Project

General

Profile

Actions

Bug #79094

closed

Extension Manager API potentially makes destructive database schema changes

Added by Helmut Hummel over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
-
Start date:
2016-12-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Szenario:

An extension (ext_test) changes the schema for table pages by increasing the field size of author_email to varchar(255). The core extension defines a size of varchar(80) for this field.

Steps to reproduce:
  • when I install the extension using the extension manager
  • and execute the command on command line typo3/cli_dispatch.phpsh extbase extension:install core

Expected result:
I expect the database schema to not have changed

Actual result:
The field size of author_email in table pagesis reduced to varchar(80)
This can be verified in the install tool with the database compare tool


Files

ext_test_0.1.0_201701132110.zip (615 Bytes) ext_test_0.1.0_201701132110.zip Extension 1 Helmut Hummel, 2017-01-13 21:12
ext_test1_0.1.0_201701132111.zip (598 Bytes) ext_test1_0.1.0_201701132111.zip Extension 2 (depends on Extension 1) Helmut Hummel, 2017-01-13 21:12

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #83986: Streamline size of all email fields at the database schemaClosed2018-02-20

Actions
Precedes TYPO3 Core - Bug #85915: Exception on attempt to update a static database table in extension managerClosed

Actions
Actions

Also available in: Atom PDF