Immediately after enabling and configuring Unique Field, upon saving a node this sql error is generated:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ogm.bundle' in 'where clause': SELECT ogm.entity_type AS entity_type, ogm.etid AS entity_id, node.vid AS revision_id, node.type AS bundle FROM {og_membership} ogm INNER JOIN {node} node ON node.nid = ogm.etid WHERE (ogm.gid = :db_condition_placeholder_0) AND (ogm.entity_type = :db_condition_placeholder_1) AND (ogm.bundle = :db_condition_placeholder_2) ; Array ( [:db_condition_placeholder_0] => 3 [:db_condition_placeholder_1] => node [:db_condition_placeholder_2] => foobar ) in field_sql_storage_field_storage_query() (line 582 of /modules/field/modules/field_sql_storage/field_sql_storage.module).

yeah, yucky. :( sorry to be the bearer of bad news.

Comments

AstonVictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks