From 44fb56cc27cbf9d837e6bb52290c4e5350ef3021 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Tue, 29 Oct 2024 18:13:19 +0100 Subject: [PATCH] fix: Adapt Portal MOP Services API changes - MEED-7663 - Meeds-io/MIPs#165 --- .../org/exoplatform/onlyoffice/OnlyofficeEditorServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/org/exoplatform/onlyoffice/OnlyofficeEditorServiceImpl.java b/services/src/main/java/org/exoplatform/onlyoffice/OnlyofficeEditorServiceImpl.java index 7fabf752..db19a45c 100644 --- a/services/src/main/java/org/exoplatform/onlyoffice/OnlyofficeEditorServiceImpl.java +++ b/services/src/main/java/org/exoplatform/onlyoffice/OnlyofficeEditorServiceImpl.java @@ -3279,7 +3279,7 @@ private String getCurrentPortalName() { } else { LayoutService layoutService = WCMCoreUtils.getService(LayoutService.class); UserPortalConfigService userPortalConfigService = ExoContainerContext.getService(UserPortalConfigService.class); - String defaultPortal = userPortalConfigService.getDefaultPortal(); + String defaultPortal = userPortalConfigService.getMetaPortal(); UserACL userACL = ExoContainerContext.getService(UserACL.class);