After running update.php with the updated version of Openlayers 7.x-2.0-beta3+142-dev, I received this report:

Update #7207
Failed: DatabaseSchemaObjectExistsException: Table openlayers_projections already exists. in DatabaseSchema->createTable() (line 657 of /home/ecudchi/public_html/v02/includes/database/schema.inc).

Comments

vegardjo’s picture

Issue summary: View changes

I get the same thing with Open Layers 7.x-2.0-beta9:

"The following updates returned messages

openlayers module

Update #7207
Failed: PDOException: SQLSTATE[HY000]: General error: 1364 Field 'description' doesn't have a default value: INSERT INTO {openlayers_layers} (data) VALUES (:db_insert_placeholder_0); Array ( [:db_insert_placeholder_0] => a:1:{s:10:"projection";a:0:{}} ) i drupal_write_record() (linje 7106 av /[mysite]/includes/common.inc)."

pol’s picture

Status: Active » Fixed

Delete all the tables openlayers_* and reinstall the module.

Status: Fixed » Closed (fixed)

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