TTS doesn't save parent terms?

Equ - February 5, 2009 - 14:11
Project:Taxonomy Super Select
Version:6.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:reviewed & tested by the community
Description

I think this is very important. After I selected checkbox "Display parent terms as form items" I can see parent terms, but TTS won't save them. Moreover it saves other parent term instead of the one I selected...
Example,

Vocabulary 1
Parent term 1
-term 1
-term 2
-term3

Parent term 2
-term 1
-term 2
-term3

Parent term 3
-term 1
-term 2
-term3

I select Parent term 1 and try to save. Drupal shows that the node is updated successfully, but really it saves Parent term 3 instead of Parent term 1. If I turn off TTS module everything is ok. Any ideas?

#1

NikLP - February 6, 2009 - 15:40

I confirm this behaviour. Parent terms are not saved. I haven't seen any evidence of other parent terms being saved, but that doesn't mean it isn't happening.

This is definitely a critical bug though!!

#2

NikLP - February 6, 2009 - 17:08

See this fix for the D5 version.

I have successfully applied and tested it on the D6 version. YMMV, but I haven't seen any problems yet.

Thank heavens for little mercies :)

#3

NikLP - February 6, 2009 - 18:01
Status:active» reviewed & tested by the community

No patch, but... I reviewed it, as did many others on the other thread.

#4

Ocyrhoé - March 11, 2009 - 12:09

this patch works for me on 6.x

#5

chaloalvarezj - May 22, 2009 - 00:42

BUG confirmed: Parent term is not saved, other term gets saved instead.

Have applied the patch: http://drupal.org/files/issues/taxonomy_super_select.module_0.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.

#6

NikLP - May 22, 2009 - 09:41

That patch definitely needs committing.

#7

jmcclelland - June 19, 2009 - 16:39

Ditto - this bug is critically important to fix because it leads to data loss. It's quite easy to install this module and edit hundreds of nodes before you realize that what you are selecting is not being recorded in the database.

I'm attaching a back-ported patch the should cleanly apply to the version 5 module.

jamie

AttachmentSize
taxonomy_super_select.module.fix_.parent.bug_.patch 475 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.