room_options error in ejabberd 16.01

HI. when run this command
/opt/ejabberd-16.01/bin/ejabberdctl get_room_options group_ conference.example.com
, it returns this error:

Problem 'error badarg' occurred executing the command.
Stacktrace: [{io_lib,format,
                     ["~s",[[moderator,participant,visitor]]],
                     [{file,"io_lib.erl"},{line,154}]},
             {ejabberd_ctl,'-format_result/2-fun-1-',1,
                           [{file,"src/ejabberd_ctl.erl"},{line,396}]},
             {lists,map,2,[{file,"lists.erl"},{line,1237}]},
             {ejabberd_ctl,format_result,2,
                           [{file,"src/ejabberd_ctl.erl"},{line,394}]},
             {ejabberd_ctl,'-format_result/2-fun-0-',2,
                           [{file,"src/ejabberd_ctl.erl"},{line,382}]},
             {lists,map,2,[{file,"lists.erl"},{line,1237}]},
             {lists,map,2,[{file,"lists.erl"},{line,1237}]},
             {ejabberd_ctl,format_result,2,
                           [{file,"src/ejabberd_ctl.erl"},{line,380}]}]

but it works in ejabberd 15.11.
or when run this command:

/opt/ejabberd-16.01/bin/ejabberdctl change_room_option group_jid conference.example.com max_users 300

but not apply and not working. Is it bug in ejabberd 16.01?

Ah, you found a new bug! The

Ah, you found a new bug!

The problem was introduced when a new room option was added, but those commands were not able to handle that new option:
https://github.com/processone/ejabberd/commit/aa5caa30e27030cd7813d47b0f...

It's fixed now with this simple change:
https://github.com/processone/ejabberd/commit/eece6e69cbc29b13cda1e48969...

Syndicate content