The SMS country code does not seem to be evaluated properly, resulting in the
SMS to not being sent.
The reason for that is a bug in SmsQueueManager.java in formatSmsNumber(). In
revision 674 it's in line 305 which needs to be changed from:
final String configuredNumber =
config.readSettingAsString(PwmSetting.SMS_DEFAULT_COUNTRY_CODE);
to:
final String configuredNumber =
String.valueOf(config.readSettingAsLong(PwmSetting.SMS_DEFAULT_COUNTRY_CODE));
because SMS_DEFAULT_COUNTRY_CODE is configured as NUMERIC in PwmSetting.java:
SMS_DEFAULT_COUNTRY_CODE("sms.defaultCountryCode", PwmSettingSyntax.NUMERIC,
Category.SMS),
What version of PWM are you using?
Revision 674, but the error also occurs in revision 679.
What ldap directory and version are you using?
Novell eDirectory 8.8.7
The error in log will be something like:
queue.AbstractQueueManager, EmailQueueManager setting value is not readable as
string
Original issue reported on code.google.com by nils.rekow on 29 Jan 2014 at 3:36
Original issue reported on code.google.com by
nils.rekow
on 29 Jan 2014 at 3:36