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:
parent
af8d789d93
commit
52f93bdcd2
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue