field_sql_storage should depend on field module if it doesn't already. If it did, it wouldn't need to check for the existence of the {field_config} table in hook_schema().

I think this is a leftover from CCK in D6, which was both defining a static schema, then also defining dynamic schema which depended on it's own database tables (which would blow up during installing of the module itself without that check).

Comments

swentel’s picture

Version: 8.x-dev » 7.x-dev

There is no field_config table anymore and the module now depends on it. Do we still need/want to fix this in D7 ?

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.