mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing issue due to change in serialVersionUID after adding additional field to Operation DTO and correcting flaw in notification sending logic
This commit is contained in:
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…
Reference in New Issue
Block a user