diff --git a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/threads/WritePostCatalogueManagerThread.java b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/threads/WritePostCatalogueManagerThread.java index 393f572..9bad58a 100644 --- a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/threads/WritePostCatalogueManagerThread.java +++ b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/threads/WritePostCatalogueManagerThread.java @@ -125,7 +125,7 @@ public class WritePostCatalogueManagerThread extends Thread { // add fallback if(basePath == null || basePath.isEmpty()) - new ServiceEndPointReaderSocial(currentScope).getBasePath(); + basePath = new ServiceEndPointReaderSocial(currentScope).getBasePath(); if(basePath == null){