From ea79edd092b291cd006cf1e28d6c019c6ea52bf1 Mon Sep 17 00:00:00 2001 From: Drew Brokke Date: Fri, 8 Nov 2024 15:00:14 -0600 Subject: [PATCH] LPD-38666 com.liferay.ide.server.core: only show the error if the version is below 7 --- .../src/com/liferay/ide/server/core/portal/PortalRuntime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plugins/com.liferay.ide.server.core/src/com/liferay/ide/server/core/portal/PortalRuntime.java b/tools/plugins/com.liferay.ide.server.core/src/com/liferay/ide/server/core/portal/PortalRuntime.java index e3aec26781..5b6acd8e2b 100644 --- a/tools/plugins/com.liferay.ide.server.core/src/com/liferay/ide/server/core/portal/PortalRuntime.java +++ b/tools/plugins/com.liferay.ide.server.core/src/com/liferay/ide/server/core/portal/PortalRuntime.java @@ -278,7 +278,7 @@ public IStatus validate() { MessageFormat.format(Msgs.errorPortalRuntimeConfiguration, runtime.getName()), null); } - if (!portalBundleVersion.startsWith("7")) { + if (portalBundleVersion.startsWith("5") || portalBundleVersion.startsWith("6")) { return new Status(IStatus.ERROR, LiferayServerCore.PLUGIN_ID, 0, Msgs.errorPortalVersion70, null); }