From c19694b476476b97b03cd8a484bee00ce232ca7c Mon Sep 17 00:00:00 2001 From: Artyom Savchenko Date: Sun, 19 Jul 2026 21:29:16 +0700 Subject: [PATCH 1/2] Fix validation error in export service (#10985) Signed-off-by: Artyom Savchenko --- services/export/pod-export/src/server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/export/pod-export/src/server.ts b/services/export/pod-export/src/server.ts index 4858326876..b0dae8fc4c 100644 --- a/services/export/pod-export/src/server.ts +++ b/services/export/pod-export/src/server.ts @@ -270,6 +270,8 @@ function toSafeFormatFileToken (format: ExportFormat): 'json' | 'csv' { return 'json' case ExportFormat.CSV: return 'csv' + default: + throw new ApiError(400, `Invalid format. Supported formats: ${supportedExportFormats.join(', ')}`) } } From 4c94335cc11e8919144c7d9df7c4fde02fb2ab62 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Mon, 20 Jul 2026 09:42:27 +0500 Subject: [PATCH 2/2] Fix relation attribute editor (#10986) Signed-off-by: Denis Bykhov --- .../RelContextPresenter.svelte | 17 ++-- .../settings/ProcessAttributeEditor.svelte | 78 +++++++++++++------ plugins/process-resources/src/exporter.ts | 2 +- 3 files changed, 66 insertions(+), 31 deletions(-) diff --git a/plugins/process-resources/src/components/attributeEditors/RelContextPresenter.svelte b/plugins/process-resources/src/components/attributeEditors/RelContextPresenter.svelte index ff57025b24..1410789eda 100644 --- a/plugins/process-resources/src/components/attributeEditors/RelContextPresenter.svelte +++ b/plugins/process-resources/src/components/attributeEditors/RelContextPresenter.svelte @@ -20,16 +20,19 @@ export let context: Context $: relation = context.relations[contextValue.name] + $: attr = contextValue.key !== '_id' && relation?.attributes?.find((p) => p.name === contextValue.key) -{#if contextValue.key === '_id'} - {relation.name} -{:else if relation !== undefined && attr} - {relation.name} - - +{#if relation !== undefined} + {#if contextValue.key === '_id'} + {relation.name} + {:else if attr} + {relation.name} + + + {/if} {/if}