Bug #1797
http 500 error when using Wiki content
100%
Description
If I set the Sidebar to display a Wiki page, I get this:
ActionView::TemplateError (undefined method `strip_tags' for #<SidebarHook:0xb56a6dcc @parsed_headings=[]>) on line #59 of app/views/layouts/base.rhtml: 56: <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %> 57: <div id="sidebar"> 58: <%= yield :sidebar %> 59: <%= call_hook :view_layouts_base_sidebar %> 60: </div> 61: 62: <div id="content">
Doesn’t seem to matter which location I choose.
I also get the error if I try to use Wiki-style formatting in a Text option (“h1.” for example).
I’m using Redmine 1.2.0 stable in a Turnkey Linux VM.
Any input appreciated.
Related issues
Associated revisions
History
#1 Updated by Andriy Lesyuk over 13 years ago
- Status changed from New to Open
- Assignee set to Andriy Lesyuk
This can be related to version 1.2.0... Will check. Thanks for the report.
#2 Updated by Adam Mallinson over 13 years ago
I get this same error when using headings (tested with h1, h2 and h3 tags), if i take the headings out i can still use underline and other formatting options with no problems
Running Mongrel 1.5, Ruby 1.8.7 and Redmine 1.2.1 under Windows Server 2008 R2
#3 Updated by Andriy Lesyuk over 13 years ago
- Target version set to 0.0.3
#4 Updated by Andriy Lesyuk over 13 years ago
- Status changed from Open to In Progress
- % Done changed from 0 to 80
Try updating code from SVN.
Please also note that now you also need Project Settings Hook plugin!
#5 Updated by Andriy Lesyuk over 13 years ago
- Due date set to 19 Sep 2011
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
I believe the issue has been resolved.