You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bundles installed from marketplace cannot be uninstalled if the post in the forum has been deleted or marked as unpublished. They need to be deleted manually from the user data-folder.
The obvious solution to remove bundles where no addon provider can be found that supplies that addon might not be as good as it looks in the first place. If the forum is not available (due to forum issues or network issues on client side), all marketplace addons would be uninstalled, which is a bad idea.
Unfortunately I have no good idea, but would be willing to implement if someone comes upon with a solution.
The text was updated successfully, but these errors were encountered:
It could for instance save the serialized org.openhab.core.addon.Addon info for each installed Marketplace add-on in a Storage (or file) and use that when the post goes missing or maturity changes.
Yes and and probably also update the stored Addon info whenever new info is obtained.
It may also need some logic to be able to handle Addon field changes over time too. 😉
I disagree on the first one: The stored information of an installed addon should not change. It should be removed when the addon is uninstalled and re-written if it is installed again. Otherwise it might provide wrong information about the installed addon (e.g. version).
The second one is easier: If we don't use a Storage<Addon> but a Storage<String> and store the GSON serialized data of Addon, the correct transition can be handled in the deserialization.
J-N-K
changed the title
[marketplace] Cannot uninstall bundles after post hast been removed
[addonservices] Cannot uninstall bundles after post hast been removed
Dec 30, 2021
Bundles installed from marketplace cannot be uninstalled if the post in the forum has been deleted or marked as unpublished. They need to be deleted manually from the user data-folder.
The obvious solution to remove bundles where no addon provider can be found that supplies that addon might not be as good as it looks in the first place. If the forum is not available (due to forum issues or network issues on client side), all marketplace addons would be uninstalled, which is a bad idea.
Unfortunately I have no good idea, but would be willing to implement if someone comes upon with a solution.
The text was updated successfully, but these errors were encountered: