You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Redmine 2.3 with Jruby 1.74 and teh combination results in strage bug with redmine_sudo. Rendering for all pages basically gets turned off. All pages show with raw erb:
Obviously this shouldn't happen, but I never used jruby before. I highly suspect there's a problem with "deface" and jruby. deface is the gem I use for inserting additionnal HTML in redmine standard pages. Unfortunately deface relies on gem with local compilation such as nokogiri, and it doens't seem the project supports jruby for now. Your best bet is to switch to MRI but I'd understand it's a big things for a tiny plugin like redmine_sudo :/
I can see if I can make things going better with jruby but it won't be before a month or two because I'm a bit busy at the moment. Hope you understand. Don't hesitate to tell me if you notice other strange behaviours, maybe it will help me understand what happens.
I'm running Redmine 2.3 with Jruby 1.74 and teh combination results in strage bug with redmine_sudo. Rendering for all pages basically gets turned off. All pages show with raw erb:
csrf_meta_tag %> favicon %> stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %> stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> javascript_heads %> heads_for_theme %> call_hook :view_layouts_base_html_head %> yield :header_tags -%>
render_menu :account_menu -%>
if User.current.sudoer? %>
link_to sudo_toggle_path(:back_url => url_for(params)), :class => "sudo" do %> label = User.current.admin? ? "become_user" : "become_admin" %> Setting.plugin_redmine_sudo[label] %> end %>
end %> content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %> render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
if User.current.logged? || !Setting.login_required? %>
form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> end %> render_project_jump_box %>
end %>
page_header_title %>
if display_main_menu?(@project) %>
render_main_menu(@project) %>
end %>
yield :sidebar %> view_layouts_base_sidebar_hook_response %>
render_flash_messages %> yield %> call_hook :view_layouts_base_content %>
Powered by link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2013 Jean-Philippe Lang
call_hook :view_layouts_base_body_bottom %>
The text was updated successfully, but these errors were encountered: