Skip to content

Commit

Permalink
fix: Exchange events synchronization issue after server restart - EXO…
Browse files Browse the repository at this point in the history
…-67725 (#94) (#96)

Before this change, a log error for casting a boolean to String while retrieving the user connecter setting
after this change, the setting is forced to be cast into the Boolean object
  • Loading branch information
GouadriaHanen authored Jan 18, 2024
1 parent 0cfa49a commit cc209f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public ExchangeUserSetting getExchangeSetting(long userIdentityId) {
String decodePassword = ExchangeConnectorUtils.decode((String) password.getValue());
exchangeUserSetting.setPassword(decodePassword);
}
if(credentialChecked!=null) {
exchangeUserSetting.setCredentialChecked((boolean) credentialChecked.getValue());
if (credentialChecked != null) {
exchangeUserSetting.setCredentialChecked(Boolean.valueOf(String.valueOf(credentialChecked.getValue())));
} else {
exchangeUserSetting.setCredentialChecked(false);
}
Expand Down

0 comments on commit cc209f3

Please sign in to comment.