field_sql_storage_field_storage_details tries to work if there are no columns -- there is a cast -- but it fails. And the reason for this patch? You might have your own storage ideas. It can be still SQL. I was writing awesomerelationships which does its own insert, update etc with SQL when foudn this.

CommentFileSizeAuthor
field_no_columns.patch1.45 KBchx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yched’s picture

Status: Needs review » Reviewed & tested by the community

Looks sensible. Fields without columns are a perfectly valid case.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.