500 after trying to change user Administrator
Created by: MrKeiKun
Procedure
- Goto Administrator Dashboard
- Goto Users Tab
- Pick a user
- Change the user's password
Result Error 500 after changing it's password
Logs
Started PATCH "/admin/users/root" for 112.207.93.13 at 2013-12-13 17:16:51 +0800
Processing by Admin::UsersController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"5JaUDheNYsDGpCc/sYLGExB9A4k0CBjlwec2bMdu/uY=", "user"=>{"name"=>"serv-root", "username"=>"serv-root", "email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "projects_limit"=>"10000", "can_create_group"=>"1", "admin"=>"1", "skype"=>"", "linkedin"=>"", "twitter"=>""}, "id"=>"root"}
Completed 500 Internal Server Error in 163ms
Exception (namespace directory cannot be moved):
app/models/namespace.rb:83:in `move_dir'
app/observers/user_observer.rb:17:in `after_save'
app/controllers/admin/users_controller.rb:75:in `block in update'
app/controllers/admin/users_controller.rb:74:in `update'
app/controllers/application_controller.rb:57:in `set_current_user_for_thread'