Defect #1121
closedRedmine 2.1.2 - Redmine_Hudson plugin 2.00 - ActionView::Template::Error (undefined method `auth_user' for #<HudsonSettings
100%
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
Updated by Toshiyuki Ando over 12 years ago
Thanks for your report.
I'm trying to upgrate plugin for Redmine 2.1.x
but, I haven't seen your problem.
Did you run command 'rake redmine:plugins:migrate' ?
Updated by - - over 12 years ago
I add some improve for Redmine 2.1.x support. You can take from GitHub:
https://github.com/alminium/redmine_jenkins
Please check it.
Ando san,
If you prefer, please take my modification though my modification
that may not so good. And I want you to rename plugin hudson to jenkins
to display plugin support jenkins.
Best regards,
Updated by - - over 12 years ago
If you prefer, please take my modification though my modification
that may not so good. And I want you to rename plugin hudson to jenkins
to display plugin support jenkins.
Sorry, I awared you already implement something for 2.1.x.
I did it before you do. So it will be conflict.
Updated by Toshiyuki Ando over 12 years ago
- Status changed from 新規(New) to 担当(Assigned)
Thanks for your modification !
I'm trying to merge.
I think Remame hudson to jenkins is next step.
If i finish upgrate, i'll try.
Updated by - - over 12 years ago
Toshiyuki Ando は書きました:
I think Remame hudson to jenkins is next step.
If i finish upgrate, i'll try.
Well, I rebased for your recent commits and rename jenkins commit to top.
You can check the my modifications without jenkins rename by following command
at redmine-2.1.x-alm branch:
$ git diff 336c69..HEAD~2
Updated by Toshiyuki Ando over 12 years ago
- Status changed from 担当(Assigned) to 解決(Resolved)
Updated by Toshiyuki Ando over 12 years ago
- Target version changed from 1.0.9 to 2.1.0
Updated by Toshiyuki Ando over 12 years ago
- Status changed from 解決(Resolved) to 終了(Closed)