Fix issue with updating status due to cache inconsistency

This commit is contained in:
charitha 2021-02-26 14:57:16 +05:30
parent ddab435548
commit 0435138fc9

View File

@ -2807,6 +2807,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
+ deviceIdentifier.getType() + "'");
}
boolean isDeviceUpdated;
this.removeDeviceFromCache(deviceIdentifier);
Device device = getDevice(deviceIdentifier, false);
int deviceId = device.getId();
EnrolmentInfo enrolmentInfo = device.getEnrolmentInfo();