redmine_login_audit
redmine_login_audit copied to clipboard
Internal Error 500 - conflict with redmine omniauth CAS 0.1.2
Hello, thank you for your plugin, I use the "Redmine omniauth CAS 0.1.2" at https://github.com/jbbarth/redmine_omniauth_cas, when i load "Redmine login audit", I have a Internal 500 Error, see the diary below.
If i uninstall redmine_ominauth_cas your plugin works well. i also open a issue to redmine_omniauth_cas.
Do you think you take a look to the problem ?
Thx.
Environment:
Redmine version 3.3.9.stable
Ruby version 2.3.0-p0 (2015-12-25) [x86_64-linux]
Rails version 4.2.11
Environment production
Database adapter Mysql2
SCM:
Git 2.1.4
Filesystem
Redmine plugins:
redmine_omniauth_cas 3.3.0
redmine_xls_export 0.2.1.t11
sidebar_hide 0.0.8
ActionView::Template::Error (undefined local variable or method `label_for_cas_login' for #<#Class:0x00563271334538:0x007fd105a32310> Did you mean? labelled_form_for):
The log
Processing by AccountController#login as HTML
Current user: anonymous
Rendered plugins/redmine_omniauth_cas/app/views/redmine_omniauth_cas/_view_account_login_top.html.erb (55.3ms)
Rendered account/login.html.erb within layouts/base (55.7ms)
Completed 500 Internal Server Error in 58ms (ActiveRecord: 0.2ms)
ActionView::Template::Error (undefined local variable or method `label_for_cas_login' for #<#<Class:0x00563271334538>:0x007fd105a32310>
Did you mean? labelled_form_for):
11: #(it happens for me at work with 2 reverse-proxies in front of the app...)
12: @back_url = CGI.unescape(@back_url) if @back_url && @back_url.match(/^https?%3A/)
13: %>
14: <%= link_to label_for_cas_login, :controller => "account", :action => "login_with_cas_redirect", :provider => "cas", :origin => @back_url %>
15: </div>
16:
17: <% end %>
plugins/redmine_omniauth_cas/app/views/redmine_omniauth_cas/_view_account_login_top.html.erb:14:in `_plugins_redmine_omniauth_cas_app_views_redmine_omniauth_cas__view_account_login_top_html_erb__519223562586077569_47387324155000'
lib/redmine/hook/view_listener.rb:59:in `block (2 levels) in render_on'
lib/redmine/hook/view_listener.rb:57:in `map'
lib/redmine/hook/view_listener.rb:57:in `block in render_on'
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:96:in `call_hook'
app/views/account/login.html.erb:1:in `_app_views_account_login_html_erb__689247372787559154_47387323859960'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'