Bug #79094
closedExtension Manager API potentially makes destructive database schema changes
100%
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.
- 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 pages
is reduced to varchar(80)
This can be verified in the install tool with the database compare tool
Files
Updated by Helmut Hummel almost 8 years ago
- Category set to Extension Manager
- Assignee set to Nicole Cordes
Updated by Helmut Hummel almost 8 years ago
Updated by Helmut Hummel almost 8 years ago
Updated by Helmut Hummel almost 8 years ago
This bug is even easier to trigger:
- Install both extensions
- On database level add a long string to table "pages" in field "tx_ext_test"
- Re-upload ext_test and confirm overwrite
Expected result: Data in tx_ext_test is fine
Actual result: Data in tx_ext_test is truncated to 10 characters
Updated by Guido S. almost 7 years ago
- Related to Task #83986: Streamline size of all email fields at the database schema added
Updated by Gerrit Code Review over 6 years ago
- Status changed from Accepted 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 https://review.typo3.org/57429
Updated by Gerrit Code Review over 6 years ago
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/57429
Updated by Gerrit Code Review over 6 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/57429
Updated by Gerrit Code Review over 6 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/57429
Updated by Gerrit Code Review over 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57429
Updated by Gerrit Code Review over 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57429
Updated by Gerrit Code Review over 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57429
Updated by Gerrit Code Review over 6 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57429
Updated by Gerrit Code Review over 6 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57429
Updated by Gerrit Code Review over 6 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57429
Updated by Nicole Cordes over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset aa5ccf0eb737f91d2c9474577ab7dbea718c2bc6.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57486
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57486
Updated by Nicole Cordes over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset a8d51b4ac7da0de3598b85fbddf855c339428edf.
Updated by Stephan Großberndt over 6 years ago
- Precedes Bug #85915: Exception on attempt to update a static database table in extension manager added