Project

General

Profile

Actions

Defect #11683

closed

404 on redirect after creating new issue.

Added by John Worthington over 11 years ago. Updated over 1 year ago.

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

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

Database: mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (x86_64) using readline 6.1
Ruby: 1.8.7 (x86_64-linux)
Rails: 3.2.6
Redmine: 2.0.3.stable

I believe I have found a bug related to issues #5436.

I have a project who's identifier is "wiki" and I am getting a 404 error after a redirect to the show action for any newly created issue. The new Issue is saved to the db just fine and a simple page refresh returns the correct show action.

After I found issue #5436 I created another project and did not encounter the same error when creating new issues for the differently named project.

Full backtrace from my log file.
------
Started POST "/projects/wiki/issues" for 67.170.49.94 at Wed Aug 22 14:54:08 -0700 2012
Processing by IssuesController#create as HTML
Parameters: {"commit"=>"Create", "project_id"=>"wiki", "authenticity_token"=>" << Token >>", "utf8"=>"✓", "issue"=>{"start_date"=>"2012-08-22", "estimated_hours"=>"", "priority_id"=>"4", "parent_issue_id"=>"", "is_private"=>"0", "subject"=>" << Subject >>", "assigned_to_id"=>"", "done_ratio"=>"0", "tracker_id"=>"2", "due_date"=>"", "description"=>" << Description >> ", "status_id"=>"1"}, "attachments"=>{"1"=>{"description"=>""}}}
Rendered mailer/_issue.text.erb (4.2ms)
Rendered mailer/issue_add.text.erb within layouts/mailer (21.4ms)
Rendered mailer/_issue.html.erb (17.6ms)
Rendered mailer/issue_add.html.erb within layouts/mailer (22.5ms)
Redirected to http://redmine.purplellamas.net/issues/2
Completed 302 Found in 1797ms (ActiveRecord: 966.2ms)

Started GET "/internal_error.html" for 67.170.49.94 at Wed Aug 22 14:54:10 -0700 2012

ActionController::RoutingError (No route matches [GET] "/internal_error.html"):
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.6) lib/rails/engine.rb:479:in `call'
railties (3.2.6) lib/rails/application.rb:220:in `call'
railties (3.2.6) lib/rails/railtie/configurable.rb:30:in `send'
railties (3.2.6) lib/rails/railtie/configurable.rb:30:in `method_missing'
/dh/passenger/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
/dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
/dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
/dh/passenger/lib/phusion_passenger/rack/application_spawner.rb:205:in `start_request_handler'
/dh/passenger/lib/phusion_passenger/rack/application_spawner.rb:170:in `send'
/dh/passenger/lib/phusion_passenger/rack/application_spawner.rb:170:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/utils.rb:479:in `safe_fork'
/dh/passenger/lib/phusion_passenger/rack/application_spawner.rb:165:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:180:in `start'
/dh/passenger/lib/phusion_passenger/rack/application_spawner.rb:128:in `start'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rack_application'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rack_application'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/dh/passenger/helper-scripts/passenger-spawn-server:99

Actions

Also available in: Atom PDF