Project

General

Profile

Actions

Defect #10768

closed

Redmine cannot open issues with GBP Symbol

Added by Alan Budden about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

If I have an issue (created in 1.3.0) with the UK pound sign in (I'm deliberately not including it in this issue in case the issue is unreadable), opening that issue results in a 500 error and the error dump at the bottom of this page.

The only way that I've been able to recover from this and access my issues was to use phpmyadmin to remove the £ sign manually. I then tested creating a new issue with 1.4.0 and including that symbol and got the 500 error again.

This worked on 1.3.0, but fails on 1.4.0. If I add a pound sign into the comments section, there is no problem.

Error log:

Processing IssuesController#show (for 195.171.105.102 at 2012-04-25 13:35:05) [GET]
  Parameters: {"controller"=>"issues", "action"=>"show", "id"=>"589"}
Rendering template within layouts/base
Rendering issues/show

ActionView::TemplateError (incompatible character encodings: ASCII-8BIT and UTF-8) on line #129 of app/views/issues/show.html.erb:
126: <% if authorize_for('issues', 'edit') %>
127:   <div id="update" style="display:none;">
128:   <h3><%= l(:button_update) %></h3>
129:   <%= render :partial => 'edit' %>
130:   </div>
131: <% end %>
132: 

    app/views/issues/show.html.erb:129:in `concat'
    app/views/issues/show.html.erb:129
    app/controllers/issues_controller.rb:118:in `block (2 levels) in show'
    app/controllers/issues_controller.rb:115:in `show'
    <internal:prelude>:10:in `synchronize'
    passenger (3.0.12) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
    passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
    passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
    passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
    passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `block in handle_spawn_application'
    passenger (3.0.12) lib/phusion_passenger/utils.rb:479:in `safe_fork'
    passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
    passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:180:in `start'
    passenger (3.0.12) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
    passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:219:in `block (2 levels) in spawn_rails_application'
    passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
    passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:214:in `block in spawn_rails_application'
    passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
    <internal:prelude>:10:in `synchronize'
    passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
    passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
    passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
    passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    passenger (3.0.12) helper-scripts/passenger-spawn-server:99:in `<main>'

Rendering /usr/share/redmine/public/500.html (500 Internal Server Error)

Other information:

About your application's environment
Ruby version              1.9.2 (i686-linux)
RubyGems version          1.3.7
Rack version              1.1.3
Rails version             2.3.14
Active Record version     2.3.14
Active Resource version   2.3.14
Action Mailer version     2.3.14
Active Support version    2.3.14
Application root          /usr/share/redmine
Environment               production
Database adapter          mysql
Database schema version   20120301153455

About your Redmine plugins
Project Settings Hook         0.0.1
Redmine Code Review plugin    0.4.7
Default Assign plugin         0.2.0
Redmine Drafts plugin         0.1.1
Redmine Landing Page plugin   0.0.2
Sidebar content               0.0.4
Actions

Also available in: Atom PDF