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.
I am using Drupal 4.7.6 with TSS. When I have a vocabulary that needs multiple select with TSS and the ability to display parent terms as options, TSS breaks this. If I go to tag a parent term or any other term with multiple select, it puts it with one of the child terms randomly. The only way to get it working with parent terms is to turn off multiple select with all my taxonomies that are using TSS.
Comment | File | Size | Author |
---|---|---|---|
#8 | taxonomy_lieux.xml_.txt | 19.23 KB | doc2@drupalfr.org |
#1 | taxonomy_super_select.module_0.patch | 955 bytes | jenlampton |
Comments
Comment #1
jenlamptonThe problem with parent items is that the value of the parents wasn't being set correctly in the name of the form item, so even though a user can select the category they like, it doesn't get saved correctly.
should be changed to
patch attached.
-Jen
Comment #2
kinnel CreditAttribution: kinnel commentedThis seems to fix the problems I've been having where the top-level term would not get saved.
Also, the top-level term would not display in the views filter.
Thanks!
Comment #3
Dimm CreditAttribution: Dimm commentedThanks!
Comment #4
ali27 CreditAttribution: ali27 commentedi found that it is better if you change it to :
Comment #5
NancyDruCan you please try 5.x-1.10 and see if this problem still exists? I suspect it is now fixed. If it is, please mark this issue as fixed. Thanks.
Comment #6
doc2@drupalfr.org CreditAttribution: doc2@drupalfr.org commentedSame bug fixed for version 1.5-1 by Ali in #4 reappeared in 1.10.
Comment #7
NancyDruworks for me
Comment #8
doc2@drupalfr.org CreditAttribution: doc2@drupalfr.org commentedStill in 5.1-11.
Attached is the export XML file (thanks to the Taxonomy Import/Export module) of one of the conflicting vocabularies. It's called "Lieux", for "Location".
When I tag the parent Term "Aix-en-Provence", I have EACH time "Vaison-la-Romaine" tagged INSTEAD (same level in vocab).
In the Musique vocab, Prokoviev is always tagged instead of Bach. Just as a remark, none of the terms are the First or Last of the list.
Comment #9
Ocyrhoé CreditAttribution: Ocyrhoé commentedworks for me on 6.x
Comment #10
chaloalvarezj CreditAttribution: chaloalvarezj commentedBUG confirmed: Parent term is not saved, other term gets saved instead.
Have applied the patch to the latest version for drupal 6 and works perfectly so far. Please maintainer commit this patch as this bug is critical: It practically renders the module unusable.
Cheers
Comment #11
marpic CreditAttribution: marpic commentedThis bug is still present for version 6.x-1.0. The attached patch fix the bux.
I also believe this is a critical bug (ok, this was just a +1 comment... :-) ).
Comment #12
doc2@drupalfr.org CreditAttribution: doc2@drupalfr.org commentedDid you forget the patch? I can't find it... is it easily portable to d5 versions? Thanks in advance. Regards, Arsène
Comment #13
a_c_m CreditAttribution: a_c_m commentedStill seems to be a bug in 6.x-1.0
Comment #14
a_c_m CreditAttribution: a_c_m commentedPatch fixes the issue, i had to apply it myself (as i have other patches applied).
For me it was around line 194, in the _tss_branch() function.
Comment #15
jcisio CreditAttribution: jcisio commentedFixed in 6.x in #369656: TTS doesn't save parent terms?. Sorry, but you need to apply #4 for 5.x branch. I can't test, however.
Comment #16
jcisio CreditAttribution: jcisio commented