diff --git a/CHANGELOG.md b/CHANGELOG.md index 0965c90..44c0e35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.6.1-SNAPSHOT] - 2022-06-22 + +#### Bug fixes + +- [#23549] Fixed serialization issue on the GRSFRecordAlreadyManagedStatusException + ## [v1.6.0] - 2022-05-25 #### Bug fixes diff --git a/pom.xml b/pom.xml index 8630ed1..afd26f1 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ org.gcube.portlets.widgets grsf-manage-widget - 1.6.0 + 1.6.1-SNAPSHOT gCube GRSF Manage widget @@ -38,7 +38,7 @@ org.gcube.distribution maven-portal-bom - 3.6.1 + 3.6.4 pom import diff --git a/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/GRSFRecordAlreadyManagedStatusException.java b/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/GRSFRecordAlreadyManagedStatusException.java index d281607..32f7882 100644 --- a/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/GRSFRecordAlreadyManagedStatusException.java +++ b/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/GRSFRecordAlreadyManagedStatusException.java @@ -1,35 +1,40 @@ package org.gcube.datacatalogue.grsf_manage_widget.shared.ex; -import org.gcube.datacatalogue.common.enums.Status; +import java.io.Serializable; +import org.gcube.datacatalogue.common.enums.Status; /** * The Class GRSFRecordAlreadyManagedStatusException. * * @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) * - * Mar 21, 2019 + * Mar 21, 2019 */ -public class GRSFRecordAlreadyManagedStatusException extends Exception{ +public class GRSFRecordAlreadyManagedStatusException extends Exception implements Serializable { /** * */ private static final long serialVersionUID = -2034802685606929315L; private Status status; - + + public GRSFRecordAlreadyManagedStatusException() { + + } + /** * Instantiates a new GRSF record already managed status exception. * * @param theStatus the the status - * @param arg0 the arg 0 + * @param arg0 the arg 0 */ - public GRSFRecordAlreadyManagedStatusException(Status theStatus, String arg0){ + public GRSFRecordAlreadyManagedStatusException(Status theStatus, String arg0) { super(arg0); this.status = theStatus; - + } - + /** * Gets the status. * diff --git a/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/NoGRSFRecordException.java b/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/NoGRSFRecordException.java index 81da5e4..a77e587 100644 --- a/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/NoGRSFRecordException.java +++ b/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/shared/ex/NoGRSFRecordException.java @@ -1,12 +1,14 @@ package org.gcube.datacatalogue.grsf_manage_widget.shared.ex; +import java.io.Serializable; /** - * This is thrown when the Manage product is pushed on a product that has - * a Record Type field of Source or none. - * @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it) + * This is thrown when the Manage product is pushed on a product that has a + * Record Type field of Source or none. + * + * @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it) */ -public class NoGRSFRecordException extends Exception { +public class NoGRSFRecordException extends Exception implements Serializable { private static final long serialVersionUID = 721315478405659218L; private String errorMessage;