From 47fc499a0dd3e534e53b15b07e339c8e6f4644e6 Mon Sep 17 00:00:00 2001 From: Timur Aliberdov Date: Thu, 30 Oct 2025 12:41:33 +0100 Subject: [PATCH] IJPL-210700: do not try to start a trial automatically and/or load paid functionality after migration from CE After migration from Community Edition: - if the IDE is managed, do not try to activate a license using provided license server URL - if the IDE is not managed: - do the trial availability check - do not start a trial automatically if it's available - do not activate any licenses automatically, even if there is one in JBA (cherry picked from commit 119022d8e066a9c8345b1a090205ee7d627f384d) IJ-CR-180923 GitOrigin-RevId: 5dcb5cb1fd2d25762d61d1563d9fce5ded486ea3 --- .../intellij/util/singleProduct/MigrationToSingleProduct.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/util/singleProduct/MigrationToSingleProduct.kt b/platform/platform-impl/src/com/intellij/util/singleProduct/MigrationToSingleProduct.kt index 10616195c9d0..d4b2fcebcd31 100644 --- a/platform/platform-impl/src/com/intellij/util/singleProduct/MigrationToSingleProduct.kt +++ b/platform/platform-impl/src/com/intellij/util/singleProduct/MigrationToSingleProduct.kt @@ -43,7 +43,8 @@ import kotlin.io.path.extension import kotlin.io.path.name import kotlin.system.exitProcess -private const val MIGRATION_FILE_MARKER = ".ce_migration_attempted" +@ApiStatus.Internal +const val MIGRATION_FILE_MARKER: String = ".ce_migration_attempted" @ApiStatus.Internal fun migrateCommunityToSingleProductIfNeeded(args: List) {