Project

General

Profile

Error viewing issues after upgrading from 0.9.3 to 1.0.1

Added by Andrea Saccavini over 13 years ago

After an upgrade using svn checkout from 0.9.3 to 1.0.1 stable, I found several template errors using modules, one of them is:

ActionView::TemplateError (undefined local variable or method `issues_context_menu_path' for #<ActionView::Base:0xb6d438c8>) on line #84 of app/views/issues/index.rhtml:
81: <%= auto_discovery_link_tag(:atom, {:action => 'changes', :query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_changes_details)) >
82: <
end >
83:
84: <
= context_menu issues_context_menu_path %>

app/views/issues/index.rhtml:84:in `_run_rhtml_app47views47issues47index46rhtml'
app/controllers/issues_controller.rb:83:in `index'
app/controllers/issues_controller.rb:82:in `index'

Rendering /var/www/redmine_test/public/500.html (500 Internal Server Error)

Redmine is running on a Unix system with mongrel+apache and I have uninstalled many plugins to reduce malfuncition risks (es. question plugin that always have some problems during upgrade process)
Any idea?

Tks


Replies (2)

RE: Error viewing issues after upgrading from 0.9.3 to 1.0.1 - Added by Felix Schäfer over 13 years ago

Please give the complete stack of the error, but from what you pasted here, I'd suspect either an incomplete upgrade (specifically the config/routes.rb file not updated correctly) or that you didn't restart your redmine properly.

RE: Error viewing issues after upgrading from 0.9.3 to 1.0.1 - Added by Andrea Saccavini over 13 years ago

Thankyou so much for the suggestion! The routes.rb file was corrupted.
Now all is work fine.
I'll test the plugins and then, if all is ok, I'll upgrade the production server.
Bye
A.

    (1-2/2)