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

ParisLiakos’s picture

Status: Active » Closed (duplicate)

Any chance you run SQL Server?
See #1354638: SQL Server support

jwilke’s picture

Status: Closed (duplicate) » Active

Ouch, 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

paularmand’s picture

Same 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

ParisLiakos’s picture

ParisLiakos’s picture

Priority: Normal » Major

does this only happen when creating/editing a list, or subscriber/template as well?

ParisLiakos’s picture

adding tag