Renaming a Room Issue

rename here=Test is throwing:

2019-02-19 16:01:45 ERROR - Error in rename here=Test: client=113 error=wrong number of arguments (given 2, expected 1) backtrace=["/home/ares/aresmush/engine/aresmush/models/room.rb:22:in check_name'", "/home/ares/aresmush/plugins/manage/commands/db/rename_cmd.rb:26:inblock in handle’", “/home/ares/aresmush/engine/aresmush/helpers/any_target_finder.rb:27:in with_any_name_or_id'", "/home/ares/aresmush/plugins/manage/commands/db/rename_cmd.rb:20:inhandle’”, “/home/ares/aresmush/engine/aresmush/plugin/command_handler.rb:25:in on_command'", "/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:82:inblock (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:77:inblock (2 levels) in on_command’”, “/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:75:in each'", "/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:75:inblock in on_command’”]

Thanks. Will be fixed in next patch.

If you desperately need to rename a room, you can use a coder char to do ruby enactor_room.update(name: "New Name") when standing in the room.

1 Like