When I have uuid_features installed but taxonomy not installed I get the following error when trying to create a new feature:

PDOException: SQLSTATE[HY000]: General error: 1 no such table: taxonomy_term_data: SELECT t.tid, t.name, v.name AS vname, t.uuid FROM {taxonomy_term_data} t INNER JOIN {taxonomy_vocabulary} v ON t.vid = v.vid ORDER BY v.name ASC, t.name ASC; Array ( ) in uuid_term_features_export_options() (line 17 of ~/Projects/myproject/httpdocs/profiles/myproject/modules/contrib/uuid_features/includes/uuid_term.features.inc).

I'll attached a patch which fixes the issue for me. However, you will need to patch with one of the other patches to get taxonomy exporting working at all.

Comments

lee20’s picture

@daveparrish - Your patch does the trick, but it might be preferable to check for the taxonomy module in uuid_features_features_api() instead.

Attached is a patch that checks for the taxonomy module in uuid_features_features_api(). You may need to clear the cache for the fix to take affect.

Jeffrey C.’s picture

Issue tags: +Need tests

Adding the tag.

Jeffrey C.’s picture

Status: Needs review » Fixed

Worked fine for me. Committed in 66d29d0. Thanks.

saltednut’s picture

You are passing credit wrong in your commits.

See: http://drupal.org/node/1146430 & http://drupal.org/node/52287

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