Project

General

Profile

Actions

Defect #1121

closed

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

Added by Anthony HERBÉ over 8 years ago. Updated over 8 years ago.

Status:
終了(Closed)
Priority:
高め(High)
Target version:
Start date:
10/19/2012
Due date:
% Done:

100%

Estimated time:

Description

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
Actions

Also available in: Atom PDF