Defect #8955

Updated by Toshi MARUYAMA almost 5 years ago

From forum posts:
message#24487 http://www.redmine.org/boards/2/topics/24487
message#25378 http://www.redmine.org/boards/2/topics/25378

Essentially, after adding submitting a POST request Redmine returns a 404 even though the URL is valid, and the POST data was submitted successfully.

From the logs:
<pre>
Processing MessagesController#reply (for 69.153.15.xxx at 2011-07-26 20:41:38) [POST]
Parameters: {"board_id"=>"1", "commit"=>"Submit", "reply"=>{"subject"=>"RE: To do list", "content"=>"asdfasdf"}, "action"=>"reply", "authenticity_token"=>"xxx", "id"=>"14", "controller"=>"messages", "attachments"=>{"1"=>{"description"=>""}}}
Redirected to http://mydomain.com/boards/1/topics/14?r=26
Completed in 105ms (DB: 80) | 302 Found [http://mydomain.com/boards/1/topics/14/replies]

Processing ApplicationController#index (for 69.153.15.xxx at 2011-07-26 20:41:39) [GET]

ActionController::RoutingError (No route matches "/internal_error.html" with {:method=>:get}):
/dh/passenger/lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/utils.rb:184:in `safe_fork'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:163:in `start'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:209:in `start'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /home/myuser/mydomain.com/redmine/public/404.html (404 Not Found)
</pre>

Back