srg_user_add don't return a right response and XMLRPC and CLI command fail.
What version of ejabberd are you using?
The node ejabberd@localhost is started with status: started ejabberd 16.06.35 is running in that node
What operating system (version) are you using?
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
How did you install ejabberd (source, package, distribution)?
source
What did not work as expected? Are there error messages in the log? What
Command:
root@ip-172-30-2-33:~# ejabberdctl srg_user_add "1605" "xmpp.test.com.br" "troxas" "xmpp.test.com.br"
Problem 'error {badmatch,{updated,1}}' occurred executing the command.
Stacktrace: [{mod_admin_extra,srg_user_add,4,
[{file,"src/mod_admin_extra.erl"},{line,1342}]},
{ejabberd_ctl,call_command,4,
[{file,"src/ejabberd_ctl.erl"},{line,324}]},
{ejabberd_ctl,try_call_command,4,
[{file,"src/ejabberd_ctl.erl"},{line,298}]},
{ejabberd_ctl,process2,4,
[{file,"src/ejabberd_ctl.erl"},{line,247}]},
{ejabberd_ctl,process,2,
[{file,"src/ejabberd_ctl.erl"},{line,225}]},
{rpc,'-handle_call_call/6-fun-0-',5,
[{file,"rpc.erl"},{line,187}]}]
was the unexpected behavior? What was the expected result?
don't return {res,rescode} but the user is add to group.
The problem appeared when configuring sql in mod_shared_roster.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.