When I have a Content Taxonomy field that isn't being input via a Hierarchical Select set of dropdowns, I can set a default value. However, as soon as I switch on HS, the default value option disappears.

Unless I'm missing something (I've honestly stared these pages down for a bout 15 minutes each) then HS is breaking the Content Taxonomy default value feature.

Comments

Wim Leers’s picture

Title: Default value vanishes from Content Taxonomy when HS is enabled » HS Content Taxonomy: support for default value field setting
Assigned: Unassigned » Wim Leers
Status: Active » Fixed

Reproduced. Fixed.

This made me curse and laugh at CCK again. It didn't learn much from its mistakes in D5: it's still extremely sucky in D6. Just look at the code I had to add to correct this.

http://drupal.org/cvs?commit=335076

Status: Fixed » Closed (fixed)

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

mayerwin’s picture

Version: 6.x-3.0 » 6.x-3.1
Status: Closed (fixed) » Needs work

Hello, I have curiously the same problem, with the latest release (3.1). Works fine with the core "select", but with HS all the terms that have been added in the vocabulary after a certain ID won't get saved (the first ones work).

I have no idea how to debug that.

I tried adding new terms and they are not saved either. Like if the list of possible terms to be saved as default had been frozen at one point.
Same behaviour in all content types that have this field.

Again, the core "select" works, so it seems the problem is not with CCK (but since you first resolved the problem something may have changed in CCK that broke your fix?).

By the way, HS is a great tool! I really appreciate it!

jvieille’s picture

Even using core taxonomy, default terms are not filled up.
(I use Taxonomy default)

jvieille’s picture

Any means to set a default value with HS as Taxonomy Default is broken by HS apparently?
http://drupal.org/node/571372

benone’s picture

Hey I use last 3.3 version and default value is not working when set in field options.
When I get to options again its set to none like it was.

I understand it already works in other versions or its only my specific problem ?

my CCK version = "6.x-2.7"

jvieille’s picture

Keeping on top of my list

Wim Leers’s picture

Title: HS Content Taxonomy: support for default value field setting » HS + Taxonomy Defaults compatibility
Version: 6.x-3.1 » 6.x-3.x-dev
Assigned: Wim Leers » Unassigned
Category: bug » feature
Priority: Normal » Minor
Status: Needs work » Active

This isn't a bug, it's a feature request for compatibility with the Taxonomy Defaults module.

I don't have time to add support for this. I welcome a patch, but won't work on it myself.

Wim Leers’s picture

Status: Active » Closed (won't fix)

Closing due to lack of patch. Feel free to reopen when posting a patch. I won't add this myself.

jvieille’s picture

Status: Closed (won't fix) » Active

May be this could be more easily solved within HS itself? Just providing default values when creating an HS field as we can already select the taxonomy root?

Just a suggestion for a significant usability improvement.

Wim Leers’s picture

Status: Active » Closed (won't fix)

Selecting the "Taxonomy root" is a feature provided by Content Taxonomy, not by HS Content Taxonomy. Analogously, this should be implemented in Content Taxonomy.