Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#3 | uuid_taxonomy_parents-1265554-3.patch | 1.28 KB | Matthew Davidson |
uuid_taxonomy_parents.patch | 1.28 KB | mh86 | |
Comments
Comment #2
mh86 CreditAttribution: mh86 commentedno idea why the test cases failed, they passed on my local installation
Comment #3
Matthew Davidson CreditAttribution: Matthew Davidson commentedIt'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.
Comment #4
dixon_This is implemented in 7.x-1.x-dev. Thanks!