Defect #1289
closed
Old Projects now display error 404
Added by Louis Delacretaz over 16 years ago.
Updated over 16 years ago.
Description
I upgraded from Redmine 6.4 to ver 7.0 and now existing projects urls
which incorporate project identifiers display "error 404 - page not found"
If I manually type the url utilising the id everything works ok.
new projects work fine.
How can I upgrade my old projects?
Actually, there's nothing to do to upgrade old projects. It seems to be a bug and I can't reproduce it.
Does this problem occur with any url which contains an old project identifier ?
Could you give an example of an url that gives a 404 (with a real project identifier) and one that works.
Also, give me your exact database and rails versions please.
The problem is that your identifiers shouldn't be numeric. They should at least contain a letter.
http://red.rahu.loc/projects/show/4004 => will look for the project with id 4004
http://red.rahu.loc/projects/show/test1 => will look for the project with identifier test1
I'll add a validation rule to ensure that projects can not be created with a numeric identifier.
In your case, the only way to fix it is to manually change the project identifiers in your database (eg. replace 4004 with p4004 or anything with at least a letter). Of course, don't change their ids.
- Status changed from New to Resolved
thanks, that fixed my problem
- Status changed from Resolved to Closed
Reporter declared issue solved.
Also available in: Atom
PDF