File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
ide-common/src/main/kotlin/org/digma/intellij/plugin/updates/ui Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,16 @@ class UIVersioningService(val cs: CoroutineScope) : DisposableAdaptor {
170170 no change - ui is already 3 installed y plugin version 5
171171 downgrade plugin to version 5
172172 ui will not be reverted because it was installed by plugin version 5
173+
174+ example 2
175+ plugin version 5 bundled with ui version 1
176+ then upgraded to ui 2
177+ upgrade plugin to version 6 that bundles ui 3
178+ ui version 3 will be used
179+ downgrade plugin to version 5
180+ ui will revert to version 1 because the current ui was installed by a newer plugin, and we don't know if
181+ ui 3 is compatible with plugin 5
182+
173183 */
174184 val needToUnpackAfterPluginDowngrade = PersistenceService .getInstance().getLastUiUpdatePluginVersion()?.let { lastUiUpdatePluginVersion ->
175185 val currentPluginVersion = SemanticVersionUtil .getPluginVersionWithoutBuildNumberAndPreRelease(" unknown" )
You can’t perform that action at this time.
0 commit comments