Fixing issue due to change in serialVersionUID after adding additional field to Operation DTO and correcting flaw in notification sending logic

merge-requests/33/head
Ace 6 years ago
parent 353d6936db
commit a8e52ee781

@ -23,7 +23,9 @@ import java.util.Properties;
public class Operation implements Serializable {
public enum Type {
private static final long serialVersionUID = -353614864628915060L;
public enum Type {
CONFIG, MESSAGE, INFO, COMMAND, PROFILE , POLICY
}

@ -251,7 +251,7 @@ public class OperationManagerImpl implements OperationManager {
}
OperationManagementDAOFactory.commitTransaction();
if (isScheduled) {
if (!isScheduled) {
for (Device device : authorizedDevices) {
this.sendNotification(operation, device);
}

Loading…
Cancel
Save