From 47183e12f2e8b72ceaa2af0843be54362c670321 Mon Sep 17 00:00:00 2001 From: Milan Perera Date: Thu, 30 Apr 2015 12:05:26 +0530 Subject: [PATCH 1/2] Update ConfigOperation.java --- .../carbon/device/mgt/core/operation/mgt/ConfigOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ConfigOperation.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ConfigOperation.java index c625499564..1ba3bea1f2 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ConfigOperation.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/ConfigOperation.java @@ -40,7 +40,7 @@ public class ConfigOperation extends Operation { properties.add(new Property(name, value, type)); } - public class Property implements Serializable{ + public class Property implements Serializable { private String name; private Object value; private Class type; From d86a5ccc4ab2496fce25b4bfe67c971a6bdf1470 Mon Sep 17 00:00:00 2001 From: Milan Perera Date: Fri, 8 May 2015 18:15:12 +0530 Subject: [PATCH 2/2] Fixed a bug in update Operation --- .../mgt/core/operation/mgt/dao/impl/ProfileOperationDAOImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/dao/impl/ProfileOperationDAOImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/dao/impl/ProfileOperationDAOImpl.java index efd42803b2..f59fe6452d 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/dao/impl/ProfileOperationDAOImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/operation/mgt/dao/impl/ProfileOperationDAOImpl.java @@ -127,6 +127,7 @@ public class ProfileOperationDAOImpl extends OperationDAOImpl { PreparedStatement stmt = null; ByteArrayOutputStream bao = null; ObjectOutputStream oos = null; + super.updateOperation(operation); try { Connection connection = OperationManagementDAOFactory.getConnection();