kiwamu/redmine_access_logger — Issue #1: when I upload a attachment, it seems some problem
Author: archonwang
Created: 2011-11-17 09:18:48+00:00
State: open

Hi, kiwamu

I create a new issue then upload a file.
then save .

the server return the error with 500.

Could you tell me how to solver it? Thanks.

the related log as follows:
######################################################################
Processing IssuesController#update (for 192.168.3.38 at 2011-11-17 17:13:37) [PUT]
Parameters: {"commit"=>"submit", "notes"=>"", "action"=>"update", "_method"=>"put", "authenticity_token"=>"xQ8zrIQK9KaICKB1l1uMPekpjCQV7FK2O5+ZiQ1KTsw=", "id"=>"2532", "relation_issue_id"=>"", "issue"=>{"start_date"=>"2011-11-17", "custom_field_values"=>{"6"=>"code", "7"=>"", "8"=>"77", "3"=>"", "4"=>"IE8.0", "5"=>"C:一般"}, "estimated_hours"=>"", "parent_issue_id"=>"", "priority_id"=>"5", "is_private"=>"0", "lock_version"=>"1", "fixed_version_id"=>"", "assigned_to_id"=>"", "subject"=>"TEST issues into access logger", "tracker_id"=>"1", "due_date"=>"", "status_id"=>"1", "description"=>"

22

\r\n"}, "controller"=>"issues", "attachments"=>{"1"=>{"file"=>#, "description"=>"的"}, "screenshot"=>{"name"=>"screenshot", "content"=>"", "description"=>""}}}

ArgumentError (redundant UTF-8 sequence):
vendor/plugins/redmine_access_logger/app/controllers/application_controller_patch.rb:16:in `access_logging'
/usr/local/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /usr/local/redmine-1.2/public/500.html (500 Internal Server Error)