The attached patch adds UUIDs for taxonomy term parents, which is e.g. useful when exporting/importing a term object (I'm currently working on the UUID Features integration #1245582: Restore uuid_features compatibility with uuid).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, uuid_taxonomy_parents.patch, failed testing.

mh86’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.x-dev
Status: Needs work » Needs review

no idea why the test cases failed, they passed on my local installation

Matthew Davidson’s picture

It's a PHP 5.3 thing. I can't pretend to understand it, but the upshot is that module_invoke() can't accept arguments by reference because of the way it retrieves their values with func_get_args(). However, a copy of an object is for all intents and purposes (and counter-intuitively) a reference anyway, so in this case (entity objects) no great refactoring is required.

Apply the patch here, then the attached one, and it should work. At least it does for me. So far.

dixon_’s picture

Status: Needs review » Fixed

This is implemented in 7.x-1.x-dev. Thanks!

Status: Fixed » Closed (fixed)

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