From a0c7c145e0046204ed1767613da3f321589ce2ad Mon Sep 17 00:00:00 2001 From: Ayoub Zayati Date: Fri, 12 Jun 2026 14:13:04 +0200 Subject: [PATCH 1/2] fix: Fix section template import redirection - EXO-87340 (#519) Prior to this change, after importing section template, a redirection is done to the edit section template layout page which is not expected since we can have a multiple section templates import. After this commit, as for page template import case, we will remove the redirection after importing section templates and just refresh the section templates list in section template management table. --- .../components/drawer/SectionTemplateDeserializeDrawer.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue b/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue index 7df14c009..bdf9ebdf3 100644 --- a/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue +++ b/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue @@ -149,7 +149,6 @@ export default { uploadId: this.uploadId, }); this.importFinished = true; - this.$root.$emit('section-template-saved'); } catch (error) { if (String(error).indexOf('databind.notMatchType') >= 0) { this.$root.$emit('alert-message', this.$t('sectionTemplates.label.exception.notMatchType'), 'error'); From 5adc126e85b5d4af7ce2bc014cef7bb77b287296 Mon Sep 17 00:00:00 2001 From: Ayoub Zayati Date: Fri, 12 Jun 2026 17:21:07 +0200 Subject: [PATCH 2/2] fix: Fix section template import redirection - EXO-87340 (#520) Prior to this change, after importing section template, a redirection is done to the edit section template layout page which is not expected since we can have a multiple section templates import. After this commit, as for page template import case, we will remove the redirection after importing section templates and just refresh the section templates list in section template management table. --- .../components/drawer/SectionTemplateDeserializeDrawer.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue b/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue index bdf9ebdf3..2298591af 100644 --- a/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue +++ b/layout-webapp/src/main/webapp/vue-app/section-template/components/drawer/SectionTemplateDeserializeDrawer.vue @@ -148,6 +148,7 @@ export default { objectType: 'SectionTemplate', uploadId: this.uploadId, }); + this.$root.$emit('section-templates-list-refresh'); this.importFinished = true; } catch (error) { if (String(error).indexOf('databind.notMatchType') >= 0) {