Vote #78694
未完了ActionView::Template::Error Accessing to LDAP configuration
0%
説明
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: 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.
--------------------------------------------------------------------------------