Project

General

Profile

Actions

Bug #20800

closed

Deletion of an extension leads to a mysql error for special cases

Added by Marcus Krause over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2009-07-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If an extension that would add additional tables to the database is going to be deleted but the its tables doesn't exist in database, PHP throws an mysql error.

Reasons why tables might not exist in the database when the ext is to be deleted:
  • ext was only installed but never loaded
  • ext was some day unloaded and install tool compare stuff removed/renamed according tables
  • install but do not load an extension that would bring its own db table(s) [make sure to not create any tables]
  • delete this extension
  • BANG

(issue imported from #M11607)


Files


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #21324: EM tries to read from tables of not installed extensionsClosedSteffen Kamper2009-10-21

Actions
Is duplicate of TYPO3 Core - Bug #18808: deleting extensions gives nasty MySQL errorClosed2008-05-17

Actions
Actions #1

Updated by Martin Holtz about 15 years ago

Hi Marcus,

i tried to reproduce that, but i was not able to.

I tested without applying patch 12299_v4 so i get the sql-error in the view, but deleting was not a problem.

any hints?

gruss,
martin

Actions #2

Updated by Martin Holtz about 15 years ago

just uploaded my test-extension.

i did:

1. import that extension
2. I did not install that extension
3. selected "Backup/Delete" vor that extension
4. get SQL-Error (which has been fixed with #21324 _v4)
5. DELETE EXTENSION FROM SERVER

So the deletion itself gave me not an error.

any hint?

Actions #3

Updated by Steffen Kamper about 15 years ago

resolved with 12299

Actions

Also available in: Atom PDF