プロジェクト

全般

プロフィール

Defect #1121

完了

Redmine 2.1.2 - Redmine_Hudson plugin 2.00 - ActionView::Template::Error (undefined method `auth_user' for #<HudsonSettings

Anthony HERBÉ さんが11年以上前に追加. 11年以上前に更新.

ステータス:
終了(Closed)
優先度:
高め(High)
担当者:
対象バージョン:
開始日:
2012/10/19
期日:
進捗率:

100%

予定工数:

説明

Hi,

First, thanks for your great job and time spent on it.

When we try to configure Hudson plugin settings for a projet in latest release of Redmine 2.4.1, we've got this error in trace log.

Global settings in administration section, seems to work.

Do you have any clue, to solve/fix/patch it qeekly ?

Thanks in advance.

Started GET "/projects/test/hudson_settings/edit" for 127.0.0.1 at 2012-10-18 19
:55:44 +0200
Processing by HudsonSettingsController#edit as HTML
  Parameters: {"id"=>"test"}
  Current user: a-herbe (id=3)
  Rendered plugins/redmine_hudson/app/views/hudson_settings/edit.html.erb within layouts/base (15.6ms)
Completed 500 Internal Server Error in 31ms

ActionView::Template::Error (undefined method `auth_user' for #<HudsonSettings:0
x4aef278>):
    11:      <span style="display:none;" id="rect_url_for_plugin"><%=text_field
:settings, :url_for_plugin, :size=>50%></span>
    12:   </p>
    13:   <p><label><%=t(:field_user)%></label>
    14:      <%=text_field :settings, :auth_user, :size=>20 %></p>
    15:   <p><label><%=t(:field_password)%></label>
    16:      <%=password_field :settings, :auth_password, :size=>20%></p>
    17:   <p><label><%=t(:label_get_build_details)%></label><%=check_box :settin
gs, :get_build_details, {}, 'true'%> <%=t(:notice_get_build_details)%></p>
  activemodel (3.2.8) lib/active_model/attribute_methods.rb:407:in `method_missi
ng'
  activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_mis
sing'
  actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1161:in `value_befor
e_type_cast'
  actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1149:in `value_befor
e_type_cast'
  actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1043:in `block in to
_input_field_tag'
  actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1043:in `fetch'
  actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:1043:in `to_input_fi
eld_tag'
  actionpack (3.2.8) lib/action_view/helpers/form_helper.rb:692:in `text_field'
  plugins/redmine_hudson/app/views/hudson_settings/edit.html.erb:14:in `block in
 _plugins_redmine_hudson_app_views_hudson_settings_edit_html_erb___733484823_395
84388'
  actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in c
apture'
  actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_outp

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