As the title suggests, I ran into an issue while creating 3 profile taxonomies. They display not only the appropriate values but also values from "previous" taxonomies.

The first drop-down displays only a value of its own taxonomy.
The second drop-down displays values from the previous (first) and its own taxonomy.
The third drop-down displays values from the first/second and its own taxonomy.

I tested the rc1 as well as the dev version and the problem seems to persist.

Any help fixing would be greatly appreciated.

Thank you!

CommentFileSizeAuthor
profile-taxonomy.png19.1 KBvasheck
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

optidel’s picture

Priority: Normal » Critical

I also ran into this problem. Since this module cannot be used without solving this, I am upgrading the priority to critical.

I also found the cause. The variable $options is not being nullified after a particular taxonomy's values are read into it. To solve the problem, in the rc1 version add this line after line 133.

$options = null;

In case it is different in other versions, line 133 should read - $field['#options'] = $options; //attach options

vasheck’s picture

Worked like a charm.... Thank you very much, maragnis!
I really appreciate your help!

gnindl’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc2
Assigned: Unassigned » gnindl
Status: Active » Fixed

Referenced vocabularies are exported and synchronized with the profile field options with the 1.0-rc2 release, so they shouldn't be any interference any more.

vasheck’s picture

perfect! thank you!

Status: Fixed » Closed (fixed)

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