Project

General

Profile

Actions

Defect #1169

closed

NoMethodError in IssuesController#new

Defect #1169: NoMethodError in IssuesController#new

Added by li wei over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Resolution:
Invalid
Affected version:

Description

Redmine 0.6.3 update to Redmine 0.7.0 RC1 . when click "New issue" ,system reply :

NoMethodError in IssuesController#new


Files

Action_Controller_Exception_caught.mht (14.2 KB) Action_Controller_Exception_caught.mht NoMethodError message attachment. li wei, 2008-05-04 15:07
add_attachment_messager.htm (14.4 KB) add_attachment_messager.htm li wei, 2008-05-04 15:23

Updated by li wei over 18 years ago Actions #1

Updated by li wei over 18 years ago Actions #2

when add a file , system reply "+NoMethodError in IssuesController#edit+"

Updated by Jean-Philippe Lang over 18 years ago Actions #3

  • Status changed from New to Closed

You didn't migrate your database. See RedmineUpgrade.

Updated by li wei over 18 years ago Actions #4

My Upgrading step is :

1. mysqldump redmine_production > redmine_production_v0.6.3.sql;
2. uninstall redmine(version 0.6.3);
2. reinstall redmine.0.7.0.RC1;
3. bin/mysql.exe source redmine_production_v0.6.3.sql;

I have not use "RedmineUpgrade" , and "RedmineUpgrade" is the only way ?

Updated by li wei over 18 years ago Actions #5

After import redmine_production_v0.6.3.sql, all is ok, but "New issue" report "No Mehod Error".

Updated by Jean-Philippe Lang over 18 years ago Actions #6

You have to migrate your Redmine database in order to make it work with the new version of Redmine.
Run this in your Redmine directory:

rake db:migrate RAILS_ENV="production"

And restart the application.

Updated by li wei over 18 years ago Actions #7

thanks a lot! 非常感谢!

Actions

Also available in: PDF Atom