Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
update.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2010 at 06:26 UTC
Updated:
3 Aug 2011 at 00:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
anarcat commentedShort of marking this critical (because I think it doesn't affect the web-based upgrades), I think this should be fixed for the release, as it breaks drush-based upgrades, hence marking major.
Comment #2
moshe weitzman commentedindeed.
Comment #3
yched commentedfield.crud.inc is loaded whenever field.module file is loaded (see the top of field.module).
field_sql_storage_schema() running without field.module being loaded sounds surprising, since field_sql_storage has an explicit dependency on field.
I'd rather have this investigated as a smoke sign that something more serious is wrong in drush upgrades, rather than adding one-off hardcoded includes here and there. At the very least, this needs a comment.
Comment #4
yched commentedI have no problem with this being committed as a hotfix so as not to hold a beta|RC and / or allow the use of drush to test the D6 upgrade path - if we add a comment note and keep the issue open for clean resolution before a 7.0 official release.
Comment #5
webchickThat sounds like a needs work.
Comment #6
yched commentedHere's the hotfix patch with a comment.
However, the problem might be that system_update_7020() enables field_sql_storage.module before field.module :
+ WTF : field.module and field_sql_storage.module both have a dependency on each other. I guess someone's mind (possibly mine) was not entirely decided...
AFAICS, field.module should not have to depend on the pluggable field_sql_storage.module. Let's see what breaks.
Comment #8
clemens.tolboom#6: 893880-field_dependency.patch queued for re-testing.
Comment #10
sun.core commentedIf it's a bug in drush, then drush should be fixed instead.
Powered by Dreditor.
Comment #11
skwashd commentedsubscribing
Comment #12
deverman commentedI got this error when trying to upgrade a drupal 6 database to drupal 7 under drush 3.3 has this been fixed in later versions of drush?
Comment #13
clemens.tolboomWhy are you changing the component? This has nothing to do with ajax right?
I put it back to update.module as for some reasons 'update system' is not available. (Is this a d.o bug?)
Please retry with drush 7.x-4.4 and elaborate more on the error and your site setup. I guess you have a locale or multi-language site.
Comment #14
clemens.tolboom#6: 893880-field_dependency.patch queued for re-testing.
Comment #15
clemens.tolboomThe second patch from #6 (yched WTF) never made it.
See #896698: Circular dependency references between field and field_sql_storage which could be marked dup if this makes it.
Comment #17
bfroehle commentedLet's keep this issue closed and use the linked issue for discussing the circular dependency.