プロジェクト

全般

プロフィール

Defect #258

完了

Error when trying to annotate a file

Arnaud Fontaine さんが14年以上前に追加. 14年以上前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
担当者:
対象バージョン:
開始日:
2009/11/27
期日:
進捗率:

100%

予定工数:

説明

Hello,

When trying to annotate a line of a file, I get the following error:

Showing layouts/base.rhtml where line #66 raised:
undefined method `[]' for nil:NilClass

Here is the trace:

vendor/plugins/redmine_code_review/lib/code_review_application_hooks.rb:154:in `change_revision_view'
vendor/plugins/redmine_code_review/lib/code_review_application_hooks.rb:90:in `view_layouts_base_body_bottom'
lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb:28:in `returning'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'

An the parameters:

{"rev"=>"77658c010fc873346b596d6fa9a9c5aff85e62b",
"id"=>"test-schedules"}

I have submitted a small patch addressing this issue. Hope that helps.

Regards,
Arnaud Fontaine


ファイル

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