From 0929d0044dc0780cbe071792f25d7daa5f0e03c5 Mon Sep 17 00:00:00 2001 From: Maxim Dzyuba Date: Thu, 25 Apr 2024 17:15:20 +0300 Subject: [PATCH 1/3] =?UTF-8?q?G5V8DT-24657=20=D0=94=D0=BE=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D0=BD=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20?= =?UTF-8?q?=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D0=B8=20=D0=BF=D0=BE=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B5=20?= =?UTF-8?q?=D1=81=20=D0=B2=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B=D0=BC?= =?UTF-8?q?=D0=B8=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B0=D0=BC=D0=B8?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/e1c/v8codestyle/ql/check/TempTableHasIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/com.e1c.v8codestyle.ql/src/com/e1c/v8codestyle/ql/check/TempTableHasIndex.java b/bundles/com.e1c.v8codestyle.ql/src/com/e1c/v8codestyle/ql/check/TempTableHasIndex.java index 9f8f0d77c..168c7852f 100644 --- a/bundles/com.e1c.v8codestyle.ql/src/com/e1c/v8codestyle/ql/check/TempTableHasIndex.java +++ b/bundles/com.e1c.v8codestyle.ql/src/com/e1c/v8codestyle/ql/check/TempTableHasIndex.java @@ -82,7 +82,7 @@ protected void checkQlObject(EObject object, QueryOwner owner, IQlResultAcceptor return; } - if (selectQuery.getIndexes() == null || selectQuery.getIndexes().isEmpty()) + if (selectQuery.getIndexSets().isEmpty()) { AbstractQuerySchemaTable table = selectQuery.getPlacementTable(); String excludeTableNamePattern = parameters.getString(PARAMETER_EXCLUDE_TABLE_NAME_PATTERN); From 787cf74d90d8895329c972b3f86afe1e1231ba39 Mon Sep 17 00:00:00 2001 From: Maxim Dzyuba Date: Thu, 23 May 2024 00:04:31 +0300 Subject: [PATCH 2/3] =?UTF-8?q?Epic/G5V8DT-24631=20=D0=9F=D0=BE=D0=B4?= =?UTF-8?q?=D0=BD=D1=8F=D1=82=D0=B8=D0=B5=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bundles/com.e1c.v8codestyle.form/META-INF/MANIFEST.MF | 2 +- bundles/com.e1c.v8codestyle.ql/META-INF/MANIFEST.MF | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/com.e1c.v8codestyle.form/META-INF/MANIFEST.MF b/bundles/com.e1c.v8codestyle.form/META-INF/MANIFEST.MF index a918afdcf..db47e84ed 100644 --- a/bundles/com.e1c.v8codestyle.form/META-INF/MANIFEST.MF +++ b/bundles/com.e1c.v8codestyle.form/META-INF/MANIFEST.MF @@ -31,7 +31,7 @@ Import-Package: com._1c.g5.v8.bm.core;version="[8.0.0,9.0.0)", com._1c.g5.v8.dt.metadata.dbview;version="[4.0.0,5.0.0)", com._1c.g5.v8.dt.metadata.mdclass;version="[9.0.0,10.0.0)", com._1c.g5.v8.dt.platform.version;version="[2.14.0,3.0.0)", - com._1c.g5.v8.dt.ql.model;version="[4.0.0,5.0.0)", + com._1c.g5.v8.dt.ql.model;version="[5.0.0,6.0.0)", com._1c.g5.v8.dt.ql.resource;version="[5.0.0,6.0.0)", com._1c.g5.v8.dt.ql.typesystem;version="[6.0.0,7.0.0)", com._1c.g5.wiring;version="[2.2.0,3.0.0)", diff --git a/bundles/com.e1c.v8codestyle.ql/META-INF/MANIFEST.MF b/bundles/com.e1c.v8codestyle.ql/META-INF/MANIFEST.MF index 3c9692157..eab44180e 100644 --- a/bundles/com.e1c.v8codestyle.ql/META-INF/MANIFEST.MF +++ b/bundles/com.e1c.v8codestyle.ql/META-INF/MANIFEST.MF @@ -20,7 +20,7 @@ Import-Package: com._1c.g5.v8.bm.core;version="[8.0.0,9.0.0)", com._1c.g5.v8.dt.mcore;version="[7.0.0,8.0.0)", com._1c.g5.v8.dt.metadata.dbview;version="4.0.0", com._1c.g5.v8.dt.metadata.mdclass;version="[9.0.0,10.0.0)", - com._1c.g5.v8.dt.ql.model;version="[4.0.0,5.0.0)", + com._1c.g5.v8.dt.ql.model;version="[5.0.0,6.0.0)", com._1c.g5.v8.dt.ql.typesystem;version="5.0.0", com._1c.g5.wiring;version="[2.2.0,3.0.0)", com._1c.g5.wiring.binder;version="[1.1.0,2.0.0)", From 94e9c36a9cb94dd8a6e4fba0a97faa373363a488 Mon Sep 17 00:00:00 2001 From: Vadim Geraskin Date: Wed, 5 Jun 2024 19:07:40 +0700 Subject: [PATCH 3/3] =?UTF-8?q?1449:=20Internal=20error=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D1=81=D0=BE=D1=80=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=BA?= =?UTF-8?q?=D0=B5=20=D0=BC=D0=B5=D1=82=D0=B0=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v8codestyle/internal/autosort/SortService.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bundles/com.e1c.v8codestyle.autosort/src/com/e1c/v8codestyle/internal/autosort/SortService.java b/bundles/com.e1c.v8codestyle.autosort/src/com/e1c/v8codestyle/internal/autosort/SortService.java index 14c545930..f4bea9b89 100644 --- a/bundles/com.e1c.v8codestyle.autosort/src/com/e1c/v8codestyle/internal/autosort/SortService.java +++ b/bundles/com.e1c.v8codestyle.autosort/src/com/e1c/v8codestyle/internal/autosort/SortService.java @@ -119,6 +119,20 @@ public SortService(IDtProjectManager dtProjectManager, IBmModelManager modelMana this.configurationProvider = configurationProvider; this.workspaceOrchestrator = workspaceOrchestrator; this.modelEditingSupport = modelEditingSupport; + workspaceOrchestrator.addListener(event -> { + if (event.isProjectClosing()) + { + IProject project = event.getProject().getWorkspaceProject(); + if (project != null) + { + SortJob job = jobs.remove(project); + if (job != null) + { + job.cancel(); + } + } + } + }); } @LifecycleParticipant(phase = LifecyclePhase.RESOURCE_LOADING,