Closed (fixed)
Project:
Profile Taxonomy
Version:
6.x-1.0-rc2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
29 Apr 2010 at 12:05 UTC
Updated:
11 Jun 2010 at 14:10 UTC
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!
| Comment | File | Size | Author |
|---|---|---|---|
| profile-taxonomy.png | 19.1 KB | vasheck |
Comments
Comment #1
optidel commentedI 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
Comment #2
vasheck commentedWorked like a charm.... Thank you very much, maragnis!
I really appreciate your help!
Comment #3
gnindl commentedReferenced 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.
Comment #4
vasheck commentedperfect! thank you!