From d601e4a8aaecd20a6b7668f2fc6d7469af06178f Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Mon, 30 Sep 2024 12:40:01 +0200 Subject: [PATCH 1/3] [DSC-1944] Fix issue with wrong parameter --- src/app/bulk-import/bulk-import-page.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/bulk-import/bulk-import-page.component.ts b/src/app/bulk-import/bulk-import-page.component.ts index a665fa86225..8319d950004 100644 --- a/src/app/bulk-import/bulk-import-page.component.ts +++ b/src/app/bulk-import/bulk-import-page.component.ts @@ -92,7 +92,7 @@ export class BulkImportPageComponent implements OnInit, OnDestroy { ]; if (values.abortOnError) { - stringParameters.push( { name: '-e', value: values.abortOnError } ); + stringParameters.push( { name: '-er', value: values.abortOnError } ); } this.scriptService.invoke('bulk-import', stringParameters, [file]) From 4d7cf6d584d0b6b23f48e0fb604727e5cadad694 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Mon, 30 Sep 2024 12:40:25 +0200 Subject: [PATCH 2/3] [DSC-1944] Use btn-outline-secondary class for back button --- src/app/bulk-import/bulk-import-page.component.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/bulk-import/bulk-import-page.component.html b/src/app/bulk-import/bulk-import-page.component.html index f8a41343915..86f44956da6 100644 --- a/src/app/bulk-import/bulk-import-page.component.html +++ b/src/app/bulk-import/bulk-import-page.component.html @@ -13,7 +13,7 @@

{{ 'bulk-import.title' | translate }}

- + - - \ No newline at end of file + From a29186d20a85cda9c5197651bce123397d7b940a Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Mon, 30 Sep 2024 15:07:12 +0200 Subject: [PATCH 3/3] [DSC-1944] Fix test --- src/app/bulk-import/bulk-import-page.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/bulk-import/bulk-import-page.component.spec.ts b/src/app/bulk-import/bulk-import-page.component.spec.ts index 1051c39bac2..12c44272e3b 100644 --- a/src/app/bulk-import/bulk-import-page.component.spec.ts +++ b/src/app/bulk-import/bulk-import-page.component.spec.ts @@ -115,7 +115,7 @@ describe('BulkImportPageComponent', () => { expect(scriptDataService.invoke).toHaveBeenCalledWith('bulk-import', [ { name: '-c', value: '626b80c5-ef15-4b29-8e69-bda89b0a7acf' }, { name: '-f', value: 'test.xls' }, - { name: '-e', value: true } + { name: '-er', value: true } ], [file]); });