It won't. XF 1 Add-ons do have XF 1 uninstallation code which can't be executed in a XF 2 environment.

The add-on entry is removed and that's essentially it.
Actually, I do need to correct myself. Any data that is stored in the DB in a way that's associated with the add-on (so things like options, permissions, templates, etc) will be removed. But uninstall code won't work, so any schema changes won't be removed and any other actions done by the uninstall code won't be triggered.The add-on entry is removed and that's essentially it.
Should people remove all Legacy add-ons before upgrading to x2? Is it better to start off with a blank slate when it comes to the add-ons?Actually, I do need to correct myself. Any data that is stored in the DB in a way that's associated with the add-on (so things like options, permissions, templates, etc) will be removed. But uninstall code won't work, so any schema changes won't be removed and any other actions done by the uninstall code won't be triggered.
That only makes sense if a) you know you don't need the add on or, b) you know the add on most likely won't be upgraded in the future. Otherwise, just leave it and either wait until an update is available or eventually remove the add on.Should people remove all Legacy add-ons before upgrading to x2? Is it better to start off with a blank slate when it comes to the add-ons?
Thank you for the info!It's really not a insurmountable issue for developers to resolve in future add on updates.
First, the new schema manager add on devs should be using his resiliency built in to cope with certain scenarios such as conflicting database tables and columns.
Second, the developer can write code in their updated add on to detect this and even repatriate the data from a now uninstalled add on if necessary (or just remove it).
Ultimately the advice will be to uninstall an add on before uogrwding if you know it will never be used. If you end up having to uninstall a legacy add on later, there's plenty of measures in place to cleanly and transparently resolve it.
That only makes sense if a) you know you don't need the add on or, b) you know the add on most likely won't be upgraded in the future. Otherwise, just leave it and either wait until an update is available or eventually remove the add on.
Any data that is stored in the DB in a way that's associated with the add-on (so things like options, permissions, templates, etc) will be removed.
Uninstalling legacy add-ons will leave orphaned data.
Uninstalling legacy add-ons may leave orphaned database tables and or schema changes.
We use essential cookies to make this site work, and optional cookies to enhance your experience.