プロジェクト

全般

プロフィール

Defect #387

Error occurs when Hudson.Fetch fails by HudsonApiException

Toshiyuki Ando8年以上前に追加. 8年以上前に更新.

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

100%

予定工数:

説明

問題点

Hudson.Fetch で HudsonApiException が発生すると、
エラーが出てしまう不具合。

    *  Invoke redmine_hudson:fetch (first_time)
    * Invoke environment (first_time)
    * Execute environment
    * Execute redmine_hudson:fetch
      rake aborted!
      undefined method `l' for #<HudsonApiException: HudsonApiException>
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/models/hudson_exceptions.rb:41:in `initialize'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/helpers/hudson_helper.rb:22:in `new'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/helpers/hudson_helper.rb:22:in `open_hudson_api'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/models/hudson.rb:77:in `fetch_jobs'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/models/hudson.rb:32:in `fetch'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/models/hudson.rb:143:in `fetch'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/models/hudson.rb:142:in `each'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/app/models/hudson.rb:142:in `fetch'
      /var/lib/redmine/redmine-0.9.4/vendor/plugins/redmine_hudson/lib/tasks/fetch.rake:6
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
      /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
      /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
      /usr/bin/rake:19:in `load'
      /usr/bin/rake:19

関係しているリビジョン

リビジョン 149:1bc7f83e914b (差分)
Toshiyuki Ando8年以上前に追加

fixes #387
  • add module Redmine::I18n
  • skip to fetch if project was deleted. (hudson settings remain)

履歴

#1 Toshiyuki Ando8年以上前に更新

  • 対象バージョンbacklog から 1.0.5 に変更

#2 Toshiyuki Ando8年以上前に更新

  • ステータス新規(New) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

更新履歴 r525 で適用されました。

#3 Toshiyuki Ando8年以上前に更新

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

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