test set access right at null

This commit is contained in:
Francesco Mangiacrapa 2023-07-26 15:29:31 +02:00
parent b24eda4dcc
commit 8901e01990
1 changed files with 7 additions and 7 deletions

View File

@ -196,15 +196,15 @@ public class CkanToZenodoPublisherServiceImpl extends RemoteServiceServlet imple
//TODO I'M WAITING FOR itemName retrieved from ckan2zenodo library
zenodoItem.setName(item.getItemId());
LOG.info("zenodoItem setting enum null");
LOG.info("zenodoItem setting access null");
zenodoItem.getMetadata().setAccess_right(null);
zenodoItem.getMetadata().setContributors(null);
zenodoItem.getMetadata().setContributorsTypes(null);
zenodoItem.getMetadata().setImage_type(null);
zenodoItem.getMetadata().setUpload_type(null);
zenodoItem.getMetadata().setPublication_type(null);
zenodoItem.getMetadata().setLicenses(null);
// zenodoItem.getMetadata().setContributors(null);
// zenodoItem.getMetadata().setContributorsTypes(null);
// zenodoItem.getMetadata().setImage_type(null);
// zenodoItem.getMetadata().setUpload_type(null);
// zenodoItem.getMetadata().setPublication_type(null);
// zenodoItem.getMetadata().setLicenses(null);
LOG.debug("Returning item: "+zenodoItem);