minor fix due to DataCatalogue interface update

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@163100 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2018-02-09 09:55:44 +00:00
parent af8d789d93
commit 52f93bdcd2
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
// add also this information as custom field // add also this information as custom field
Map<String, List<String>> addField = new HashMap<String, List<String>>(); Map<String, List<String>> addField = new HashMap<String, List<String>>();
addField.put(ITEM_URL_FIELD, Arrays.asList(datasetUrl)); addField.put(ITEM_URL_FIELD, Arrays.asList(datasetUrl));
utils.patchProductCustomFields(datasetId, userApiKey, addField); utils.patchProductCustomFields(datasetId, userApiKey, addField, false);
// start a thread that will associate this dataset with the group // start a thread that will associate this dataset with the group
if(/*toCreate.getChosenType() != null ||*/ toCreate.getGroups() != null){ if(/*toCreate.getChosenType() != null ||*/ toCreate.getGroups() != null){