At admin/store/settings/countries/edit, clicking on the "remove" link next to one of the installed countries takes you to a confirmation page at admin/store/settings/countries/#/remove. Clicking the "Remove" button on that page results in an error:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'country_id' in 'where clause': DELETE FROM {uc_zones} WHERE (country_id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 276 )  in uc_country_remove_form_submit() (line 1164 of /xxxx/xxxx/drupal/sites/all/modules/ubercart/uc_store/uc_store.admin.inc).
CommentFileSizeAuthor
#1 766840_zone_country_id.patch440 bytesIsland Usurper
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Island Usurper’s picture

Status: Active » Fixed
FileSize
440 bytes

Committed this patch. Don't know why I didn't keep the same field name when I ported the query.

Status: Fixed » Closed (fixed)

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