Skip to content

redmine_sudo with jruby #2

Description

@razb

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 %>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions