Actions
Defect #10295
closedRuby1.9: Error 500 with accutes and special chars in user account
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
I get a 500 error when using acutes or special chars (like ñ) in user profile names. This is the error from the logs:
Processing UsersController#show (for 172.16.23.8 at 2012-02-22 05:57:28) [GET] Parameters: {"controller"=>"users", "action"=>"show", "id"=>"4"} Rendering template within layouts/base Rendering users/show ActionView::TemplateError (incompatible character encodings: ASCII-8BIT and UTF- 8) on line #69 of app/views/layouts/base.html.erb: 66: 67: <div id="content"> 68: <%= render_flash_messages %> 69: <%= yield %> 70: <%= call_hook :view_layouts_base_content %> 71: <div style="clear:both;"></div> 72: </div> app/views/layouts/base.html.erb:69:in `concat' app/views/layouts/base.html.erb:69 app/controllers/users_controller.rb:79:in `block (2 levels) in show' app/controllers/users_controller.rb:78:in `show' thin (1.3.1) lib/thin/connection.rb:80:in `block in pre_process' thin (1.3.1) lib/thin/connection.rb:78:in `catch' thin (1.3.1) lib/thin/connection.rb:78:in `pre_process' thin (1.3.1) lib/thin/connection.rb:53:in `process' thin (1.3.1) lib/thin/connection.rb:38:in `receive_data' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' thin (1.3.1) lib/thin/backends/base.rb:61:in `start' thin (1.3.1) lib/thin/server.rb:159:in `start' thin (1.3.1) lib/thin/controllers/controller.rb:86:in `start' thin (1.3.1) lib/thin/runner.rb:185:in `run_command' thin (1.3.1) lib/thin/runner.rb:151:in `run!' thin (1.3.1) bin/thin:6:in `<top (required)>' /usr/local/bin/thin:19:in `load' /usr/local/bin/thin:19:in `<main>' Rendering /opt/redmine/public/500.html (500 Internal Server Error)
I found this while searching for this error: http://www.redmine.org/boards/2/topics/10535 and it states that redmine isn't compatible with Ruby 1.9 (I'm using Ruby 1.9.2) but in the install page (http://www.redmine.org/projects/redmine/wiki/RedmineInstall) it says that the current trunk (I got it from https://github.com/edavis10/redmine master branch) is compatible with ruby 1.9.x (I can only assume this is a work still in progress as later on it says that ruby 1.9.x is not supported yet.) so I post this issue to help get 1.9.x compatibility going.
Actions