Closed (fixed)
Project:
Project issue tracking
Version:
5.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Mar 2008 at 04:03 UTC
Updated:
23 Mar 2008 at 01:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
hunmonk commentedcouple of fixes, correct name for project_issues table, indentation fix, fixed up some more postgres goofs.
upgrade tested in postgres, works perfectly.
Comment #2
aclight commentedcode looks good and it works right on mysql, both when upgrading an already existing installation and when running a new installation.
Comment #3
aclight commentedFixed in http://drupal.org/cvs?commit=104700 and deployed on drupal.org and project.drupal.org
Comment #4
dwwI'm totally confused by project_issue_update_5207() from this patch. project_issue_update_5204() already does the following:
so, most of 5207() is dead code.
however, more frighteningly, it's dropping a column we *just* added in 5200() for the original IFAC conversion: 'original_issue_data', which is still present in project_issue_install(). Seems like everything in 5207() should be ripped out. what's going on here? calling this critical due to dropping original_issue_data. :(
thanks,
-derek
Comment #5
dwwsorry, my bad, i missed the tables involved here. the 'original_issue_data' column we care about is {project_issues}, where it still lives. the one being removed in 5207() is the column in {project_issue_comments}, so i guess that's ok. downgrading this back to minor. however, i still don't understand why there's all this cruft for dropping the columns from {project_issues}, and therefore, all of 5207() could be simplified drastically.
Comment #6
aclight commentedIf you look at the patch in #1, you'll see that along with the addition of 5207() came the removal of those same columns from project_issue_install(). So anyone who upgraded to pi 2.0 would have those columns in their database, and that's why they are removed in 5207(). So I don't think any of this is cruft, so setting this back to fixed.
Comment #7
dwwOk, fair enough. At least they're conditional, so they're not going to cause errors.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.