-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't delete the extension's settings when uninstalling it #13526
base: master
Are you sure you want to change the base?
Conversation
Should this not be a decision of the extension developer of the extension? how you like to update an extension if you are loosing all previous information? what is the concept for this? |
@pemaier that's what this PR is intended to do. To keep modules/extension settings when uninstalling an extension. |
I see the problem from both sides. On the one side we need information for updates or a concept for it. On the other side do we get a setting table full of garbage. I think the problem is not that simple ... but in the end the decision should be at developer side. |
Much better to improve Uninstall function to ask if you want to delete settings or not for a module... |
This change is temporary until the functionality to update an extension is added. I support my modules and every time I have to update them it's a routine of having to reconfigure them again and it costs me time and is tedious. |
At least you still can uninstall modules and then uninstall extension. This will clear DB from garbage. I agree there should be more clear process of extensions management. For example there should be 2 buttons in extensions list: |
what aboutt if ur doing an update and dont want the settings removed |
I've been using a sql trigger to accomplish such functionality, would be a good idea to get it implemented by default in opencart.
|
No mate |
As far as I recall you cannot install extension with same code untill you uninstall an old one. |
i need to alter the system so we have install, update and uninstall install creates tables |
#12713