Feature #20771
closed
Extension Manager only removes directory where extension is installed
Added by Jigal van Hemert almost 15 years ago.
Updated over 7 years ago.
Category:
Extension Manager
Description
Installing an extension changes:
- directory + files of actual extension (these are removed)
- upload directory
- database tables and/or columns in existing tables
- settings in localconf.php
- translations of the extension from translation server
As far as I could determine only the first item is removed upon removing the extension. A lot of garbage can stay left behind.
(issue imported from #M11560)
- Priority changed from Should have to Could have
- Target version deleted (
0)
- TYPO3 Version set to 4.3
- Status changed from New to Needs Feedback
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
- Status changed from Needs Feedback to New
Yes, nothing has been changed with two new Extension Managers. Removing an extension still leaves all kinds of data behind.
- Status changed from New to Needs Feedback
Hmmm removing the data may have side effects, files in upload folder can be linked somewhere, data of tables may be in use.
So should we export this data in a file before deleting (with user option)?
- Status changed from Needs Feedback to New
upload directory : does the core or do other extensions (not depending on the base extension) really use and link these files?
database records and extra columns : same question; I don't think the rest of the world knows how to access it, unless you have some TypoScript that queries a specific table.
settings in localConfiguration: these are definitely not used by other parts
translations : shouldn't be in use
These items may still be useful because you're only temporarily removing an extension. It might be useful to have an option in the confirmation dialogue when deleting an extension:
[_] Also remove settings, uploaded files, records and translations belonging to or generated by this extension.
Creating a backup also requires to make a feature that restores it.
- Target version set to 8 LTS
- Status changed from New to Needs Feedback
IMHO it is not a task of the extension manager to clean up after an extension was removed. You can even see this as a feature to be able to restore all data and settings if you re-install the extension.
- Assignee set to Jigal van Hemert
- Status changed from Needs Feedback to Closed
Also available in: Atom
PDF