Fix for getUrlFromDatasetIdOrName

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129482 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-06-27 14:56:47 +00:00
parent 662eb869cc
commit 4b967fd9a8
1 changed files with 1 additions and 0 deletions

View File

@ -669,6 +669,7 @@ public class CKanUtilsImpl implements CKanUtilsInterface{
try{
// get the dataset from name
CheckedCkanClient client = new CheckedCkanClient(CKAN_CATALOGUE_URL, apiKey);
CkanDataset dataset = client.getDataset(datasetIdOrName);
if(dataset != null){