Stopped working mysteriously - help!
danwassink - March 20, 2007 - 19:21
| Project: | Taxonomy Super Select |
| Version: | 5.x-1.5-1 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | critical |
| Assigned: | NancyDru |
| Status: | closed |
Jump to:
Description
It seems the only way I can get this module to work is by enabling the free tagging option. When I do this, the check boxes show, but also I get a field for 'free tagging'. If I disable free tagging in the edit vocabulary, then I get the standard list... no check boxes.
I believe I've tried every combination, and I get the same results consistently. Free tagging enabled, the module works... free tagging disabled, the module doesn't work.
I really don't want to have free tagging enabled. Any ideas?
Thanks,
Dan

#1
I'm not sure what to suggest other than a clean install of Drupal somewhere and then install TSS and try it.
I have installed it in several clean situations lately with no problems.
Let me know if you can replicate the problem on a clean install with a similar category.
Gord.
#2
I'm having the same problem.. I'm not about to wipe over a year of site history and content just to get this module working. It's either a bug in the module or a bug in the Drupal upgrade, but I'm not about to go that far. If this only runs properly on a clean install, it may not be very useful.
#3
I am only suggesting that you try and replicate the issue on a
fresh install. The problem may be related to another module that
you have installed.
If you have no problem with a clean install,
start installing and configuring the test version as your live
version currently sits.
With each module check again to see if all is well.
I simply cannot take issues that can't be replicated and figure out
why they are happening. So many things can change how drupal
works I would be forever testing.
Gord.
#4
Hi, I'm having the exact same issue here.
Johan
#5
That's very strange because it works just fine for me.
#6
not working with or without free tagging.
#7
same issues..i see no controls for TSS and no change in my structures..pls help.
thanks
#8
one thing i forgot to mention was that as soon as i enabled this module..it worked well without freetagging...
but then after i enabled the comment mover..it seems have screwed up...
then i disabled comment mover..and tried again...but still no luck...
hope this info may be of use to someone.
#9
TSS has weight = 0 in the system table, and depending on what modules are enabled, its form_alter hook may not fire at the right time. (e.g., $form['taxonomy'] isn't defined yet). It might be worth adding a sanity check to ensure that $form['taxonomy'] exists before attempting to manipulate it, because if it does not exist yet the alterations will get obliterated by some subsequent form_alter.
I don't know the proper Drupal-way to handle form_alter invocation weight but in the meantime those who cannot get TSS to appear in the node edit form can fix it with this query:
update system set weight = 99 where name = 'taxonomy_super_select';
(if that *still* does not work, an even higher number than 99 may do the trick).
#10
same issue.
Have been using this great module for 2 weeks. Today, it suddenly reverted to the old taxonomy select scroll list. Why is that? I fiddled with the settings, created a new vocab to test, etc. - nothing.
I did test a few modules today, including module_weight module and fixed data dropdown, but I've uninstalled both of them. Any reason that would affect what was until now a very good TSS module?
Oddly, if I select "free tagging" it works again. But I don't want to use free tagging.
ANy help appreciated, thanks
#11
Mystery partially solved. I'm posting this in hopes it will help someone else.
I think the problem here was the module_weight module changed the taxonomy form_alter hook as noted above. I re-enabled the module_weight module and set taxonomy weight to 0. It fixed the error with the Super Select, so it now works.
Not sure this qualifies as a bug, but it would be nice to be able to use both modules....
nonetheless, I'm glad to have this working again, it's a great module!
#12
Confirmed
This must be a bug in this-, or another module interfering with TSS.
Freetagging is a workaround for now, it shows radiobuttons strange enough.
Regards,
Kees
#13
The above is true... use PuTTY and connect to the database:
use drupal;
show tables;
select * from system where name = 'taxonomy_super_select';
update system set weight = 99 where name = 'taxonomy_super_select';
to confirm the weight changed:
select * from system where name = 'taxonomy_super_select';
that should do it... 99 worked on 2 different projects, all the other modules are at weight 0.
Thanks
#14
You can also use PhpMyAdmin and change the weight in the "system" table.
#15
Try creating a taxonomy_super_select.install file:
<?php
// $Id: $
/**
* @file
* Changes the default taxonomy select box into checkbox or radio buttons.
*/
/**
* Implementation of hook_install().
*/
function taxonomy_super_select_install() {
// This module must run after the main taxonomy module,
// as it alters that form in turn.
$taxonomy_weight = db_result(db_query("SELECT weight FROM {system} WHERE name='taxonomy'"));
db_query("UPDATE {system} SET weight=%d WHERE name='taxonomy_super_select'", 1 + $taxonomy_weight );
}
#16
This is now in 5.x-1.10.
#17
Automatically closed -- issue fixed for two weeks with no activity.