プロジェクト

全般

プロフィール

Question #950

未完了

Internal server error on diff view with Code Review on redmine 1.3.0

Jostein Elvaker Haande さんが約12年前に追加. 約12年前に更新.

ステータス:
担当(Assigned)
優先度:
通常(Normal)
担当者:
対象バージョン:
開始日:
2012/02/18
期日:
進捗率:

0%

予定工数:

説明

Hello Haru Iida,

I've experienced a minor bug with your redmine plugin 'Code Review' (latest version, running on redmine branch 1.3.0). The bug appears when I go into open issues, and have a review associated with an issue. In the link that is listed in the issue, and this is followed and the diff rendered, the icon indicating the annotation in the diff is missing and on the bottom of the page (the footer), the following is stated:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

And if I look at the error log (ref: log/production.log) I get this:

RuntimeError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]):
  (eval):21:in `root_url'
  vendor/plugins/redmine_code_review/app/controllers/code_review_controller.rb:181:in `update_diff_view'
  passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
  passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
  passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
  passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  passenger (3.0.11) helper-scripts/passenger-spawn-server:99

Rendering /var/www/redmine/public/500.html (500 Internal Server Error)

I don't know what's wrong, and would really appreciate some help on this error.

If you need more information I'd be more than willing to give this to you.

Thanks in advance, and I look forward to hearing back from you.

Haru Iida さんが約12年前に更新

  • プロジェクトr-labs から Code Review に変更
  • ステータス新規(New) から 担当(Assigned) に変更
  • 担当者Haru Iida にセット

Haru Iida さんが約12年前に更新

  • 対象バージョン0.4.7 から 0.5.0 に変更

Haru Iida さんがほぼ12年前に更新

  • 対象バージョン0.5.0 から いつかやる(Unplanned) に変更

他の形式にエクスポート: Atom PDF