プロジェクト

全般

プロフィール

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


ファイル

Haru Iida さんが14年以上前に更新

  • ステータス新規(New) から 担当(Assigned) に変更
  • 担当者Haru Iida にセット
  • 対象バージョン0.3.0 にセット

Hi Arnaud Fontaine,

Thanks for your patch.

Haru Iida さんが14年以上前に更新

  • ステータス担当(Assigned) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

チェンジセット r396 で適用されました。

Haru Iida さんが14年以上前に更新

  • 対象バージョン0.3.0 から 0.2.9.2 に変更

Haru Iida さんが14年以上前に更新

  • ステータス解決(Resolved) から 終了(Closed) に変更

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