プロジェクト

全般

プロフィール

Vote #78694

未完了

ActionView::Template::Error Accessing to LDAP configuration

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
LDAP_28
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
28
version_id:
0
issue_org_id:
26563
author_id:
91042
assigned_to_id:
0
comments:
2
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
125
ステータス-->[Needs feedback]

説明

Accesing to Administration -> LDAP authentication -> My Ldap Organization i get next error:

Started GET "/auth_sources/1/edit" for 81.43.32.194 at 2017-07-28 08:26:00 +0200
Processing by AuthSourcesController#edit as HTML
  Parameters: {"id"=>"1"}
  Current user: agalisteo (id=35)
  Rendered auth_sources/_form_auth_source_ldap.html.erb (30.2ms)
  Rendered auth_sources/edit.html.erb within layouts/admin (31.6ms)
Completed 500 Internal Server Error in 175ms (ActiveRecord: 133.0ms)

ActionView::Template::Error (private method `timeout' called for #
Did you mean?  timeout=
               timeout?):
    12:            :onchange => "this.name='auth_source[account_password]';" %>

13:

<%= f.text_field :base_dn, :required => true, :size => 60 %>

14:

<%= f.text_area :filter, :size => 60, :label => :field_auth_source_ldap_filter %>

15:

<%= f.text_field :timeout, :size => 4 %>

16:

<%= f.check_box :onthefly_register, :label => :field_onthefly %>

17:
18: lib/redmine/views/labelled_form_builder.rb:31:in `text_field' app/views/auth_sources/_form_auth_source_ldap.html.erb:15:in `_app_views_auth_sources__form_auth_source_ldap_html_erb___2279895477480212392_46951877349980' app/views/auth_sources/edit.html.erb:4:in `block in _app_views_auth_sources_edit_html_erb___2140026764370812182_46951877567740' app/helpers/application_helper.rb:1051:in `labelled_form_for' app/views/auth_sources/edit.html.erb:3:in `_app_views_auth_sources_edit_html_erb___2140026764370812182_46951877567740' lib/redmine/sudo_mode.rb:63:in `sudo_mode'

My environment:

Environment:
  Redmine version                3.3.3.stable
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux]
  Rails version                  4.2.7.1
  Environment                    production
  Database adapter               PostgreSQL
SCM:
  Git                            2.7.4
  Filesystem                     
Redmine plugins:
  redmine_agile                  1.4.1
  redmine_backlogs               v1.0.6
  redmine_checklists             3.1.5
  redmine_contacts               4.0.4
  redmine_contacts_helpdesk      3.0.4
  redmine_contacts_invoices      4.1.1
  redmine_finance                2.1.1
  redmine_people                 1.2.0
  redmine_products               2.0.1

journals

I cannot reproduce.

<pre>
Environment:
Redmine version 3.3.4.stable
Ruby version 2.3.4-p301 (2017-03-30) [x86_64-linux]
Rails version 4.2.7.1
Environment production
Database adapter SQLite
SCM:
Subversion 1.7.14
Mercurial 2.8.2
Git 1.8.3.1
Filesystem
Redmine plugins:
no plugin installed
</pre>

Test covers it.
source:tags/3.3.4/test/functional/auth_sources_controller_test.rb
--------------------------------------------------------------------------------
The @timeout@ field for LDAP Auth was added in #8978 for Redmine 2.1. If you have upgraded your Redmine from a previous version, make sure that you have run all migrations.

Please see [[RedmineUpgrade#Step-4-Update-the-database]] for details.
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリLDAP_28 にセット

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

いいね!0
いいね!0