Suivi — Autres Redirection + cache => 500

#57 Posté par  (site web personnel) . État de l’entrée : corrigée. Assigné à Bruno Michel.
Étiquettes : aucune
0
13
mar.
2011

Pour les actions mises en cache, si on fait une redirection (vers un meilleur slug par exemple), on obtient une erreur 500 :

Read error: #<NoMethodError: undefined method `each' for nil:NilClass>
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/http/response.rb:170:in `each'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.5/lib/action_dispatch/http/response.rb:103:in `body'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.1/lib/rack/response.rb:102:in `close'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_response.rb:42:in `ensure in http_response_write'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_response.rb:42:in `http_response_write'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:539:in `process_client'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:606:in `block in worker_loop'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:604:in `each'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:604:in `worker_loop'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:495:in `block (2 levels) in spawn_missing_workers'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:492:in `fork'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:492:in `block in spawn_missing_workers'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:488:in `each'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:488:in `spawn_missing_workers'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:502:in `maintain_worker_count'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn/http_server.rb:161:in `start'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/lib/unicorn.rb:13:in `run'
/home/nono/.rvm/gems/ruby-1.9.2-p180/gems/unicorn-3.4.0/bin/unicorn_rails:208:in `<top (required)>'
/home/nono/.rvm/gems/ruby-1.9.2-p180/bin/unicorn_rails:19:in `load'
/home/nono/.rvm/gems/ruby-1.9.2-p180/bin/unicorn_rails:19:in `<main>'

Envoyer un commentaire

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.