When the title module is installed and used to enable the translation of taxonomy term names and descriptions, features with exported taxonomy terms incorrectly show as overridden.

Comments

acrollet’s picture

Status: Active » Needs review
StatusFileSize
new630 bytes

After digging in, I discovered that the problem goes something like this:

1. title.module adds name_original and description_original properties to taxonomy terms, and
2. In uuid_term_features_export_render, entity_uuid_load is called with reset = TRUE, which causes those properties not to be exported:

// @todo reset = TRUE as otherwise references (parent, fields) were destroyed.
$terms = entity_uuid_load('taxonomy_term', array($uuid), array(), TRUE);

The attached patch changes the call to entity_uuid_load not to reset. I've been unable to find any drawbacks with my patch in place, term parent information is preserved, and features now properly show in default state. However, I don't have a test case for why the approach was used in the first place. It would be awesome if RobLoach could weigh in, since he wrote these lines...

saltednut’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)

In an effort to get a bunch of stuff in, a meta patch was filed that is going in. Sorry about this.

#2149949: Multiple Patches need to be committed to UUID Features and have been rolled into one.