Project

General

Profile

Actions

Defect #11837

closed

Migrating from 1.2 to 2.1 (stable branch)

Added by Tony Georges over 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

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

Actions

Also available in: Atom PDF