mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'master' into 'master'
Fix minor issues in app installing functionality. See merge request entgra/carbon-device-mgt!383
This commit is contained in:
commit
dad04e73e7
@ -759,6 +759,8 @@ public class SubscriptionManagerImpl implements SubscriptionManager {
|
|||||||
} else if (SubAction.UNINSTALL.toString().equalsIgnoreCase(action)) {
|
} else if (SubAction.UNINSTALL.toString().equalsIgnoreCase(action)) {
|
||||||
subUpdatingDeviceIds.addAll(getOperationAddedDeviceIds(activity,
|
subUpdatingDeviceIds.addAll(getOperationAddedDeviceIds(activity,
|
||||||
subscribingDeviceIdHolder.getAppInstalledDevices()));
|
subscribingDeviceIdHolder.getAppInstalledDevices()));
|
||||||
|
subUpdatingDeviceIds.addAll(getOperationAddedDeviceIds(activity,
|
||||||
|
subscribingDeviceIdHolder.getAppReUnInstallableDevices()));
|
||||||
}
|
}
|
||||||
|
|
||||||
subscriptionDAO.addDeviceSubscription(username, subInsertingDeviceIds, subType,
|
subscriptionDAO.addDeviceSubscription(username, subInsertingDeviceIds, subType,
|
||||||
|
|||||||
@ -630,7 +630,7 @@ public class OracleDeviceDAOImpl extends AbstractDeviceDAOImpl {
|
|||||||
isStatusProvided = true;
|
isStatusProvided = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
query = query + " ORDER BY ENROLMENT_ID OFFSET ? ROWS FETCH NEXT ? ROWS ONLY";
|
query = query + " ORDER BY DM_DEVICE.ID OFFSET ? ROWS FETCH NEXT ? ROWS ONLY";
|
||||||
|
|
||||||
try (PreparedStatement ps = conn.prepareStatement(query)) {
|
try (PreparedStatement ps = conn.prepareStatement(query)) {
|
||||||
|
|
||||||
|
|||||||
@ -565,7 +565,7 @@ public class SQLServerDeviceDAOImpl extends AbstractDeviceDAOImpl {
|
|||||||
isStatusProvided = true;
|
isStatusProvided = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
query = query + " ORDER BY f.ID OFFSET ? ROWS FETCH NEXT ? ROWS ONLY";
|
query = query + " ORDER BY DM_DEVICE.ID OFFSET ? ROWS FETCH NEXT ? ROWS ONLY";
|
||||||
|
|
||||||
try (PreparedStatement ps = conn.prepareStatement(query)) {
|
try (PreparedStatement ps = conn.prepareStatement(query)) {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user