This forum is no longer active. Please post your questions to our new community site

Forums Redmine

"NoMethodError in ProjectsController#show" after upgrading

Subscribe to "NoMethodError in ProjectsController#show" after upgrading 2 post(s), 2 voice(s)

 
Avatar john.abbott 1 post

I upgraded using a new stack and migrated the data. Now when I select a project, I now get the following:

NoMethodError in ProjectsController#show

undefined method `issues_visibility’ for #< Role:0xfadab40 >

RAILS_ROOT: C:/Program Files/BitNami Redmine Stack – New/apps/redmine
Application Trace | Framework Trace | Full Trace

C:/Program Files/BitNami Redmine Stack – New/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/attribute_methods.rb:260:in `method_missing’
C:/Program Files/BitNami Redmine Stack – New/apps/redmine/app/models/issue.rb:92:in `visible_condition’
C:/Program Files/BitNami Redmine Stack – New/apps/redmine/app/models/project.rb:178:in `allowed_to_condition’
C:/Program Files/BitNami Redmine Stack – New/apps/redmine/app/models/project.rb:177:in `each’
C:/Program Files/BitNami Redmine Stack – New/apps/redmine/app/models/project.rb:177:in `allowed_to_condition’
C:/Program Files/BitNami Redmine Stack – New/apps/redmine/app/models/issue.rb:91:in `visible_condition’
C:/Program Files/BitNami Redmine Stack – New/apps/redmine/app/models/issue.rb:63
C:/Program Files/BitNami Redmine Stack – New/apps/redmine/app/controllers/projects_controller.rb:151:in `show’

Request

Parameters:

{"id"=>"feprototype"}

Show session dump
Response

Headers:

{"Content-Type"=>"",
“Cache-Control”=>"no-cache"

I also get “NoMethodError in UsersController#show” when selecting a user, “NoMethodError in IssuesController#index” if I select “view all issues”

What do the error traces mean? What have I missed/done wrong?

thanks

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

From which version to which version have you migrated the data? Did you run the db:migrate process and remove the session data? Take a look at http://wiki.bitnami.com/Applications/BitNami_Redmine_Stack#How_to_upgrade_Redmine.3f and post if you continue having this issue.

Forums Redmine