Patched the method DataCatalogueImpl#gePortletUrl
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@174073 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9ea6a33240
commit
3c92810540
|
@ -189,7 +189,9 @@ public class DataCatalogueImpl implements DataCatalogue{
|
|||
}else{
|
||||
//ADDING VRE NAME AND THE SUFFIX 'CATALOGUE_TAB_ENDING_URL' TO URL
|
||||
String buildedUrl = PORTLET_URL_FOR_SCOPE.endsWith("/") ? PORTLET_URL_FOR_SCOPE : PORTLET_URL_FOR_SCOPE + "/";
|
||||
buildedUrl += vreNameLower + CATALOGUE_TAB_ENDING_URL;
|
||||
String defaultSuffix = vreNameLower + CATALOGUE_TAB_ENDING_URL;
|
||||
buildedUrl+= defaultSuffix;
|
||||
logger.warn("The Portlet URL read from Generic Resource 'Ckan-Porltet' does not contain the portlet suffix added the default: "+defaultSuffix);
|
||||
return buildedUrl;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue