Project

General

Profile

Actions

Defect #1169

closed

NoMethodError in IssuesController#new

Added by li wei about 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
2008-05-04
Due date:
% Done:

0%

Estimated time:
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
Actions #1

Updated by li wei about 16 years ago

NoMethodError message attachment.

Actions #2

Updated by li wei about 16 years ago

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

Actions #3

Updated by Jean-Philippe Lang about 16 years ago

  • Status changed from New to Closed

You didn't migrate your database. See RedmineUpgrade.

Actions #4

Updated by li wei about 16 years ago

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 ?

Actions #5

Updated by li wei about 16 years ago

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

Actions #6

Updated by Jean-Philippe Lang about 16 years ago

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.

Actions #7

Updated by li wei about 16 years ago

thanks a lot! 非常感谢!

Actions

Also available in: Atom PDF