zenodoItem setLicenses not null as LicenseBean Snew
This commit is contained in:
parent
139775a525
commit
04795542f8
|
@ -204,10 +204,9 @@ public class CkanToZenodoPublisherServiceImpl extends RemoteServiceServlet imple
|
|||
// zenodoItem.getMetadata().setUpload_type(null);
|
||||
// zenodoItem.getMetadata().setPublication_type(null);
|
||||
|
||||
LOG.info("zenodoItem setLicenses not null as LicenseBean S new");
|
||||
|
||||
LOG.info("zenodoItem setLicenses not null as LicenseBean Snew");
|
||||
LOG.info("zenodoItem getLicenses: "+zenodoItem.getMetadata().getLicenses());
|
||||
zenodoItem.getMetadata().setLicenses(null);
|
||||
//zenodoItem.getMetadata().setLicenses(null);
|
||||
|
||||
LOG.debug("Returning item: "+zenodoItem);
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ package org.gcube.portlets.widgets.ckan2zenodopublisher.shared;
|
|||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import org.gcube.portlets.widgets.ckan2zenodopublisher.shared.wrapped.LicenseBean;
|
||||
|
||||
/**
|
||||
* The Class SerializableEnum.
|
||||
*
|
||||
|
@ -20,6 +22,8 @@ public class SerializableEnum<E extends Serializable> implements Serializable{
|
|||
private List<E> selectedValues;
|
||||
|
||||
private List<E> selectableValues;
|
||||
|
||||
private LicenseBean licenseBean; //never used. Do not remove it, required for GWT serialization.
|
||||
|
||||
|
||||
public SerializableEnum() {
|
||||
|
|
Loading…
Reference in New Issue