The default forum behavior is that if you select the Post new Forum Topic link from within a sub-forum, the form automatically assigns the proper default taxonomy for the forum which the link was clicked from. (The link has the proper forum in it, e.g. /node/add/forum/11)

This worked fine under the version before 2.0.

Since 2.0 this behavior is now broken and when a person creates a new forum topic from anywhere, they get the dropdown box and no default. (just as if they'd clicked /node/add/forum)

This may be related to http://drupal.org/node/573778

Comments

puntmuts’s picture

Subscribing.

Since the 6.x-2.0-dev version no forum terms are automatically selected (hidden AND visible term selection) on forum posts.

Using a seperate vocabulary.

aharown07’s picture

Yes, I am seeing this also... I'm using Advanced Forum 2.x beta, so I thought maybe it was that, but went to back to my test site. AF was working correctly before the Taxonomy Defaults update to 2.0.
Anybody have theories on why?

bradweikel’s picture

I'll look at this over the weekend, but just to clarify --
Does this happen the moment you turn taxonomy_defaults on? Or only after editing the taxonomy_defaults settings for the forum vocabulary?

brianmercer’s picture

I just created a fresh site and duplicated it. It doesn't have to do with any other module.

Create a fresh install, enable forum module, add a forum, go to node/add/forum/1 and you get the correct forum selected as the default term. Enable taxonomy_defaults-6.x-2.0. Go to node/add/forum/1 and you get the form without the correct forum selected.

Perhaps it has something to do with the module weighting and taxonomy_defaults now being run after the taxonomy module and not before it?

bradweikel’s picture

Version: 6.x-2.0 » 6.x-2.x-dev

Thanks Brian. It's actually that taxonomy_defaults now modifies the node form, rather than the node object itself. It's cleaner, but I obviously didn't test it against the forum module. Should be an easy fix -- I'll dig into it over the weekend.

bradweikel’s picture

Status: Active » Closed (duplicate)

Now that I've made sense of them both, this is clearly a duplicate of #573778: Taxonomy Defaults breaks forum module's ability to pre-select terms. I'll continue working on it in that issue queue. Thanks for your feedback Brian.

Update: I just checked in a fix for the other bug. Testing appreciated.