If for some reason (perhaps from a slightly older version of UUID) there is an orphaned UUID entry for a vocabulary or term, the invalid vid/tid is marked and taxonomy_save_vocabulary() and taxonomy_save_term() cannot insert new rows. Consequently, the vocabulary/term is never actually rebuilt.

Patch follows.

CommentFileSizeAuthor
#1 uuid_features-925998.patch2.7 KBzhangtaihao

Comments

zhangtaihao’s picture

Status: Active » Needs review
StatusFileSize
new2.7 KB

Contained within this patch is a minor change in uuid_vocabulary.features.inc slightly less relevant to this issue:

      $existing = uuid_get_serial_id('vocabulary', 'vid', $data['uuid']);

Looking from uuid_term.features.inc, it seemed logical to use this call here.

zhangtaihao’s picture

Also, just to mention that I've checked uuid_node integration and it seems to be fine. It uses node_get_by_uuid() which wouldn't return anything unless the node exists anyway.

Can somebody check the rest?

zhangtaihao’s picture

The uuid_vocabulary side of this issue will go away once #888500: Remove vocabulary support is fixed.

I will reroll the patch then.

ezra-g’s picture

Status: Needs review » Postponed

Marking as postponed per #3.