From e487ef46272074bb63ba5ad622b6f296d2276d24 Mon Sep 17 00:00:00 2001 From: Ace Date: Wed, 10 Oct 2018 18:37:37 +0530 Subject: [PATCH] Fixing issue due to changes in serialVersionUID after adding an additional field to Operation DTO. As a fix, serializationUID of the earlier revision of the class was included in the current code --- .../carbon/device/mgt/core/dto/operation/mgt/Operation.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/operation/mgt/Operation.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/operation/mgt/Operation.java index 1b34b5d02b..07c2674f0f 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/operation/mgt/Operation.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/dto/operation/mgt/Operation.java @@ -23,6 +23,8 @@ import java.util.Properties; public class Operation implements Serializable { + private static final long serialVersionUID = -353614864628915060L; + public enum Type { CONFIG, MESSAGE, INFO, COMMAND, PROFILE , POLICY }