Possible demographics bug

I set up a freeform group called foo, then unwittingly typed foos and it came back with the whoops.

%% Sorry! The code lost its mind while executing a command. Not your fault.
Please send this error information to the admins and tell them what you were doing at the time:
Description: “group foo”
Error: “undefined method `sort’ for nil:NilClass”

2020-02-01 14:39:26 ERROR - Error in group foo: client=143 error=undefined method sort' for nil:NilClass backtrace=["/home/ares/aresmush/plugins/demographics/templates/group_detail_template.rb:25:in values’", “(erubis):5:in block in evaluate'", "/home/ares/.rvm/gems/ruby-2.6.3/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in instance_eval’”, “/home/ares/.rvm/gems/ruby-2.6.3/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in evaluate'", "/home/ares/aresmush/engine/aresmush/templates/erb_template_renderer.rb:16:in render’”, “/home/ares/aresmush/plugins/demographics/commands/groups_detail_cmd.rb:25:in handle'", "/home/ares/aresmush/engine/aresmush/plugin/command_handler.rb:25:in on_command’”, “/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:98:in block (3 levels) in on_command'", "/home/ares/aresmush/engine/aresmush/error_block.rb:6:in with_error_handling’”, “/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:93:in `block (2 levels) in on_command’”]

1 Like

Yep that’s a bug. Thanks!