Fix web apps not installing via user, group, role issue #415
Merged
tcdlpds
merged 1 commits from ashvini/device-mgt-core:Bug#10953
into master
5 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'ashvini/device-mgt-core:Bug#10953'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Fix for : https://roadmap.entgra.net/issues/10953
db9019c7b6
to6546ecdde3
5 months agoWIP: Fix web apps not installing via user, group, role issueto Fix web apps not installing via user, group, role issue 5 months agopackage io.entgra.device.mgt.core.device.mgt.common.app.mgt.windows;
Add the license
6546ecdde3
tof9b3183fa3
5 months ago}
public static final String INSTALL_ENTERPRISE_APPLICATION = "INSTALL_ENTERPRISE_APPLICATION";
public static final String UNINSTALL_ENTERPRISE_APPLICATION = "UNINSTALL_ENTERPRISE_APPLICATION";
public static final String INSTALL_WEB_CLIP_APPLICATION = "WEB_CLIP";
Can't we use single Constance here? Like 'WEB_CLIP_APPLICATION'
public static final String APPX_CERTIFICATE_HASH = "Certificate_Hash";
public static final String APPX_ENCODED_CERT_CONTENT = "Encoded_Cert_Content";
public static final String APPX_PACKAGE_FAMILY_NAME = "Package_Family_Name";
remove new line
webApplication.setUrl(application.getLocation());
webApplication.setName(application.getName());
webApplication.setType(application.getType().toString());
webApplication.setType("webapp");
What is the reason for having hard coded value here?
Some agent versions accept only "webapp" as the type. This is hard-coded in some other places as well.
I mean what's the value getting with the object? why it was required to hard code the value? Instead of hard coding you could have set the value properly and pass it to the method right?
IMO, if the required value is "webapp" then this is not the correct place to fix it.
f9b3183fa3
to2545fddcdc
5 months ago2545fddcdc
toea10eb1f3c
5 months agoae8834da0d
into master 5 months agoReviewers
ae8834da0d
.