After a fresh install I get a database error, when I add a new list:
PDOException: SQLSTATE[42703]: Undefined column: 7 ERROR: column "bundle" does not exist LINE 4: HAVING (bundle IN ('newsletter_template')) ^: SELECT newsletter_template.ntid AS entity_id, :entity_type AS entity_type, NULL AS revision_id, :bundle AS bundle FROM {newsletter_template} newsletter_template HAVING (bundle IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => newsletter_template [:entity_type] => newsletter_template [:bundle] => newsletter_template ) in EntityFieldQuery->execute() (line 1136 of /home/jeans/public_html/drupal/includes/entity.inc).
Environment:
drupal 7.12
entity-7.x-1.0-rc1.tar.gz
entityreference-7.x-1.0-rc1.tar.gz
Comments
Comment #1
ParisLiakos commentedAny chance you run SQL Server?
See #1354638: SQL Server support
Comment #2
jwilke commentedOuch, sorry I missed to post the whole environment!
It is:
Ubuntu 11.04,
Postgresql 8.4.9
Apache 2.2.17
PHP 5.3.5
Best,
J
Comment #3
paularmand commentedSame here on:
+ CentOS release 6.2 (Final)
+ postgresql 8.4 (unsure about the OS of the DB server)
+ Apache/2.2.15 (Unix)
+ PHP 5.3.3
Comment #4
ParisLiakos commentedok, just posting similar issues:
http://drupal.org/node/1354638#comment-5552244
http://drupal.org/node/1354638#comment-5732104
and a core issue, which likely is the underlying problem
#1054168: EntityFieldQuery fails for entities that have no bundle
Comment #5
ParisLiakos commenteddoes this only happen when creating/editing a list, or subscriber/template as well?
Comment #6
ParisLiakos commentedadding tag