Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
OC 184.108.40.206 Extension Installer bug #5830
The OpenCart extension installer has this following subtle issue:
Assuming I install 3 different module extensions via the admin backend at
Extensions > Installer > Upload
where each module extension creates the same folder (highlighted in bold):
If I then uninstall the first extension module via
Extensions > Installer > Uninstall
it will then remove the folder module
leaving the 2nd and 3rd extension with a missing folder and its file.
In general, the OpenCart extension installer should keep a count of newly introduced folders and only remove them in the uninstaller when all extensions using them have been uninstalled.