Closed (fixed)
Project:
Scheduler
Version:
7.x-1.0-rc2
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2011 at 14:56 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bjlewis2 commentedaccording to comment #1 on the above link:
Here's the reason.
http://drupal.org/node/776856
"Rename db_column_exists() to db_field_exists()"
Comment #2
bjlewis2 commentedby the way, the error occured when doing update #6100
Comment #3
eric-alexander schaefer commentedLooks like we need to check all D6 update functions. I thought they could be left untouched...
Comment #4
eric-alexander schaefer commentedDid you try to update from pre 6.x-1.0-rc2?
Comment #5
jonathan1055 commentedEric, did you mean pre 7.x?
The only other db function we use is db_drop_field() which is fine in D7, so it is just the single call to db_column_exists() which need to be renamed to db_field_exists() . The parameters passed are unchanged.
Comment #6
eric-alexander schaefer commentedNope. I meant 6.x-1.0-rc2. `scheduler_update_6100()' was new in that version. But the number of the update is wrong. It should have been 6000, because it is pre 6.x-1.0. Anyway, we need also to change the `update_sql()` calls because the function is gone too. Expect it later today...
Comment #7
eric-alexander schaefer commentedComment #8
eric-alexander schaefer commentedI retested the update and it works fine. Moving on...
(http://drupalcode.org/project/scheduler.git/commit/b9ff0e0)
Comment #9
jonathan1055 commentedJust checked the old D6 versions. 6.x-1.2-rc1 dated 2008-06-11 did not have this update, but 6.x-1.2-rc2 dated 2008-06-23 did include it. (nb 1.2 not 1.0). So the bad update must have been on a sheduler of 6.x-1.2-rc1 or earlier, ie prior 23rd June 2008!
Changed the title to properly reflect the update which caused the problem.
Comment #10
bjlewis2 commentedI did not upgrade from 6.x-anything. I got this error when I started with a fresh Drupal 7 install.
Comment #11
bjlewis2 commentedChanging the title back since the original issue occurs when you begin with Drupal 7, not 6.
Comment #12
eric-alexander schaefer commentedNow this is really weird. The function scheduler_update_6100() (which is on line 76 in scheduler.install) should not have been called, except when upgrading from D6. I tried to upgrade from D6 and got the exact same error you were reporting. After the fix the upgrade would work alright. I guess we need to try to upgrade from rc1 to rc3 to check if these work too.