With current 6.x-3.x-dev is not possible select parent terms (and related terms) into form for add terms into vocabulary, this patch solve the problem.

CommentFileSizeAuthor
hs_taxonomy.patch525 bytesmavimo

Comments

mavimo’s picture

Assigned: mavimo » Unassigned
hansrossel’s picture

I can confirm the problem: the list of parent terms on admin/content/taxonomy/*/add/term is wrong (contains other terms from other vocabs), so children cannot be added to the right parent.

The above patch fixes the problem for me, thanks!

Bilmar’s picture

subscribing

_too_’s picture

As this issue is not yet closed I also confirm this problem and patch validity. Administration of hierarchical terms has another issue - when trying to add items outside of vocabulary (<none>, <parent>), it is allowed to click "Add" and element named "Array" is added to term's list of parents (and related terms): Screenshot.

adrinux’s picture

Confirm bug. And confirm the one character change in this patch fixes it :)

@_too_ the other issue belongs in its own issue, please don't try to hijack issue queues with unrelated issues.

adrinux’s picture

Status: Needs review » Reviewed & tested by the community

I'd say we have enough positive reports over the best part of a month to mark this RTBC.

wim leers’s picture

Title: Unable to select parent terms » Unable to select parent terms on add term form
Status: Reviewed & tested by the community » Fixed

You're absolutely right, adrinux.

Committed: http://drupal.org/cvs?commit=305558.

Status: Fixed » Closed (fixed)

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

charlie-s’s picture

This fix doesn't work for me. I've checked my code and I'm using -dev and it's assigning 'vid' properly. Is anyone else still experiencing this?

My line 144:

<?php
'vid'         => isset($form['vid']['#value']) ? $form['vid']['#value'] : NULL,
?>