Fixing error when synchronizing applications available in mobile device with the server.
Error : org.wso2.carbon.device.mgt.core.dao.DeviceManagementDAOException: Error occurred while adding bulk application list at org.wso2.carbon.device.mgt.core.dao.impl.ApplicationDAOImpl.addApplications(ApplicationDAOImpl.java:152)
at org.wso2.carbon.device.mgt.core.app.mgt.ApplicationManagerProviderServiceImpl.updateApplicationListInstalledInDevice(ApplicationManagerProviderServiceImpl.java:254)
at org.wso2.carbon.mdm.services.android.util.AndroidDeviceUtils.updateApplicationList(AndroidDeviceUtils.java:248)
Approach
Introducing a new PostgreSQL specific DAO, class to handle PostgreSQL related transactions.
Introducing a generic DAO to handle all other Application related DB transactions.
Making existing DAO implementation abstract and extended from above classes.
User stories
N/A
Release note
Fixed issue encountered when synching applications of devices when using PostgreSQL
Purpose
Goals
Error : org.wso2.carbon.device.mgt.core.dao.DeviceManagementDAOException: Error occurred while adding bulk application list at org.wso2.carbon.device.mgt.core.dao.impl.ApplicationDAOImpl.addApplications(ApplicationDAOImpl.java:152) at org.wso2.carbon.device.mgt.core.app.mgt.ApplicationManagerProviderServiceImpl.updateApplicationListInstalledInDevice(ApplicationManagerProviderServiceImpl.java:254) at org.wso2.carbon.mdm.services.android.util.AndroidDeviceUtils.updateApplicationList(AndroidDeviceUtils.java:248)
Approach
User stories
Release note
Documentation
Training
Certification
Marketing
Automation tests
Security checks
Samples
Related PRs
Migrations (if applicable)
Test environment
Learning