Browse Source
Merge pull request #12445 from dashevchenko/mobile/nullBundleIdFix
Fixed mobile app bundle id null pointer exception after migration
pull/12447/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
dao/src/main/java/org/thingsboard/server/dao/mobile/QrCodeSettingServiceImpl.java
|
|
|
@ -115,7 +115,7 @@ public class QrCodeSettingServiceImpl extends AbstractCachedEntityService<Tenant |
|
|
|
qrCodeSettings.setQrCodeConfig(qrCodeConfig); |
|
|
|
qrCodeSettings.setMobileAppBundleId(qrCodeSettings.getMobileAppBundleId()); |
|
|
|
} |
|
|
|
if (qrCodeSettings.isUseDefaultApp()) { |
|
|
|
if (qrCodeSettings.isUseDefaultApp() || qrCodeSettings.getMobileAppBundleId() == null) { |
|
|
|
qrCodeSettings.setGooglePlayLink(googlePlayLink); |
|
|
|
qrCodeSettings.setAppStoreLink(appStoreLink); |
|
|
|
} else { |
|
|
|
|