From d317dcf8febc7d182cc19966ecfbb3f0e2ac15f0 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Tue, 24 Oct 2017 17:21:29 +0000 Subject: [PATCH] fix for query parameters when no user is logged in (portlet outside portal) git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@157538 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../server/GcubeCkanDataCatalogServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java index 936d557..24cdbad 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java @@ -115,6 +115,8 @@ public class GcubeCkanDataCatalogServiceImpl extends RemoteServiceServlet implem if(outsidePortal()){ CkanConnectorAccessPoint ckan = new CkanConnectorAccessPoint(getCatalogue(scopePerCurrentUrl).getCatalogueUrl(),""); ckan.setOutsideFromPortal(true); + ckan.addPathInfo(pathInfoParameter); + ckan.addQueryString(queryStringParameters); return ckan; }