Merge pull request #777 from harshanL/master

Fixed wso2/product-iots#473
merge-requests/1/head
inoshperera 8 years ago committed by GitHub
commit d63ef44e7b

@ -190,7 +190,7 @@ public class PolicyManagerImpl implements PolicyManager {
policy.setProfileId(profileId);
Timestamp currentTimestamp = new Timestamp(Calendar.getInstance().getTime().getTime());
policy.getProfile().setUpdatedDate(currentTimestamp);
policy.setPriorityId(previousPolicy.getPriorityId());
policyDAO.updatePolicy(policy);
profileDAO.updateProfile(policy.getProfile());

Loading…
Cancel
Save