Fix issue with updating status due to cache inconsistency

revert-70ac1926
Charitha Goonetilleke 4 years ago
parent ddab435548
commit 0435138fc9

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

Loading…
Cancel
Save