Merge pull request 'Custom app cannot edit after create and not showing the detail of the apk in the editing form in app publisher' (#106) from dilini/device-mgt-core:issue-9736-2 into master

Reviewed-on: community/device-mgt-core#106
app-icon-change
Pahansith Gunathilake 2 years ago
commit a48c481016

@ -3244,7 +3244,7 @@ public class ApplicationManagerImpl implements ApplicationManager {
AtomicReference<ApplicationReleaseDTO> applicationReleaseDTO = new AtomicReference<>( AtomicReference<ApplicationReleaseDTO> applicationReleaseDTO = new AtomicReference<>(
applicationDTO.getApplicationReleaseDTOs().get(0)); applicationDTO.getApplicationReleaseDTOs().get(0));
validateAppReleaseUpdating(customAppReleaseWrapper, applicationDTO, applicationArtifact, validateAppReleaseUpdating(customAppReleaseWrapper, applicationDTO, applicationArtifact,
ApplicationType.ENTERPRISE.toString()); ApplicationType.CUSTOM.toString());
applicationReleaseDTO.get().setPrice(customAppReleaseWrapper.getPrice()); applicationReleaseDTO.get().setPrice(customAppReleaseWrapper.getPrice());
applicationReleaseDTO.get() applicationReleaseDTO.get()
.setIsSharedWithAllTenants(applicationReleaseDTO.get().getIsSharedWithAllTenants()); .setIsSharedWithAllTenants(applicationReleaseDTO.get().getIsSharedWithAllTenants());

Loading…
Cancel
Save