From 04bd92a6682439cc6789543a97d9629ff57cdd1f Mon Sep 17 00:00:00 2001 From: Drew Brokke Date: Fri, 1 Nov 2024 16:33:22 -0500 Subject: [PATCH] LPD-38770 com.liferay.ide.project.core: unrelated: SF --- .../core/modules/ProjectTemplateNameValidationService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/plugins/com.liferay.ide.project.core/src/com/liferay/ide/project/core/modules/ProjectTemplateNameValidationService.java b/tools/plugins/com.liferay.ide.project.core/src/com/liferay/ide/project/core/modules/ProjectTemplateNameValidationService.java index 04b23a224a..707a5654e3 100644 --- a/tools/plugins/com.liferay.ide.project.core/src/com/liferay/ide/project/core/modules/ProjectTemplateNameValidationService.java +++ b/tools/plugins/com.liferay.ide.project.core/src/com/liferay/ide/project/core/modules/ProjectTemplateNameValidationService.java @@ -81,8 +81,6 @@ protected Status compute() { String liferayVersionString = get(op.getLiferayVersion()); - Version liferayVersion = new Version(CoreUtil.parseVersion(liferayVersionString)); - ReleaseEntry releaseEntry = ReleaseUtil.getReleaseEntry(liferayWorkspaceProject.getTargetPlatformVersion()); if (releaseEntry != null) { @@ -97,6 +95,8 @@ protected Status compute() { "import here."); } + Version liferayVersion = new Version(CoreUtil.parseVersion(liferayVersionString)); + if (projectTemplateName.startsWith("form-field")) { NewLiferayProjectProvider newLiferayProjectProvider = get(op.getProjectProvider());