I get a database schema mismatch ("unexpected column in database") each time I add a new tax term field. (It happens just as soon as the field is added.) Can someone point me toward a fix for this?

CommentFileSizeAuthor
#4 term_fields_schema_alter.patch2.38 KBigor.ro

Comments

b-prod’s picture

Could you give more details (database type, name of the column etc...) ?

b-prod’s picture

Status: Active » Postponed (maintainer needs more info)
khosman’s picture

I just did a clean install of my hard drive, re-loaded all files, re-built my drupal site and immediately got the same "tables for which..." warning.

The fields/columns in question are all the fields I've added. One is a select field, the rest are text fields (single line and multiple).

How would I find out what type of database?

igor.ro’s picture

StatusFileSize
new2.38 KB

When your module add fields to some table that have schema, you have to implement hook_schema_alter.
Here is the patch

igor.ro’s picture

Category: support » bug
Status: Postponed (maintainer needs more info) » Needs review
b-prod’s picture

Version: 6.x-1.10 » 6.x-1.x-dev
Status: Needs review » Fixed

Ported in the dev version. A new release will come soon.

Status: Fixed » Closed (fixed)

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