Defect #11837
closedMigrating from 1.2 to 2.1 (stable branch)
0%
Description
Hi
Today I have try to migrate from 1.2 to 2.1 and I was quite lucky until I found that all our project files were inaccessible.
-> Project -> Files -> show :
Page not found
The page you were trying to access doesn't exist or has been removed.
Back
And in the log on the server side
Started GET "/projects/testfiles/files" for 88.167.71.116 at Sat Sep 15 15:47:02 +0200 2012
Processing by FilesController#index as HTML
Parameters: {"project_id"=>"testfiles"}
Completed 500 Internal Server Error in 11ms
ActiveRecord::RecordNotFound (Couldn't find Project with id=27):
app/models/project.rb:271:in `find'
app/controllers/files_controller.rb:34:in `index'
I reproduce it using a new project and old project.
I also found the same problem on 2.0 stable branch.
For the other stuff, all seem to be working.
Database : sqlite
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
rails 3.2.6
Thanks for your help