diff --git a/processes-services/src/main/java/org/exoplatform/processes/listener/RequestCommentNotificationListener.java b/processes-services/src/main/java/org/exoplatform/processes/listener/RequestCommentNotificationListener.java index 0174a5325..d122deb8b 100644 --- a/processes-services/src/main/java/org/exoplatform/processes/listener/RequestCommentNotificationListener.java +++ b/processes-services/src/main/java/org/exoplatform/processes/listener/RequestCommentNotificationListener.java @@ -64,6 +64,6 @@ public void onEvent(Event event) throws Exception { } private String getPortalOwner() { - return CommonsUtils.getService(UserPortalConfigService.class).getDefaultPortal(); + return CommonsUtils.getService(UserPortalConfigService.class).getMetaPortal(); } } diff --git a/processes-services/src/main/java/org/exoplatform/processes/notification/utils/NotificationUtils.java b/processes-services/src/main/java/org/exoplatform/processes/notification/utils/NotificationUtils.java index a12e3b57b..105213061 100644 --- a/processes-services/src/main/java/org/exoplatform/processes/notification/utils/NotificationUtils.java +++ b/processes-services/src/main/java/org/exoplatform/processes/notification/utils/NotificationUtils.java @@ -154,7 +154,7 @@ public static String formatMention(String comment){ portalOwner = Util.getPortalRequestContext().getPortalOwner(); } catch (Exception e){ //default value for testing and social - portalOwner = userPortalConfigService.getDefaultPortal(); + portalOwner = userPortalConfigService.getMetaPortal(); } return MentionUtils.substituteUsernames(portalOwner, comment); }