spike008t / redmine_advanced_issues

Advanced issues for redmine
http://blog.spikie.info
7 stars 10 forks source link

error on issue_heading #2

Closed undigo closed 12 years ago

undigo commented 13 years ago

Hi, an error occured when opened issue :

Processing IssuesController#show (...) [GET] Parameters: {"action"=>"show", "id"=>"68", "controller"=>"issues"} Rendering template within layouts/base Rendering issues/show.rhtml

ActionView::TemplateError (undefined method `issue_heading' for #ActionView::Base:0x6428658) on line #7 of vendor/plugins/redmine_advanced_issues/app/views/issues/show.rhtml: 4: 5: <%= render :partial => 'action_menu' %> 6: 7:

<%= l(:label_warning_risk) if @issue.has_risk? %> <%= issue_heading(@issue) %>

8: 9:
10: <%= avatar(@issue.author, :size => "50") %>

vendor/plugins/redmine_advanced_issues/app/views/issues/show.rhtml:7:in `_run_rhtml_vendor47plugins47redmine_advanced_issues47app47views47issues47show46rhtml'
app/controllers/issues_controller.rb:117
app/controllers/issues_controller.rb:116:in `show'

Rendering D:/BitNami Redmine Stack/apps/redmine/public/500.html (500 Internal Server Error)

spike008t commented 13 years ago

could you give me your version of redmine?

undigo commented 13 years ago

Hi, My version is 1.1.2 but I could resolve the template error with the search engine on redmine official site where I search "issue_heading" and see the diff between twice trunk version of 2 files I complete manually these 2 files \redmine\app\views\issues\show.rhtml and \redmine\app\helpers\issues_helper.rb and all it done !

Le 22 sept. 2011 21:04, "spike008t" < reply@reply.github.com> a crit :

could you give me your version of redmine?

Reply to this email directly or view it on GitHub:

https://github.com/spike008t/redmine_advanced_issues/issues/2#issuecomment-2170996

spike008t commented 12 years ago

ok, that sound great!

Have you done a patch? that could great if you can send it to me?