Closed (duplicate)
Project:
Taxonomy Defaults
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2010 at 19:17 UTC
Updated:
4 Dec 2010 at 02:08 UTC
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
Comment #1
puntmuts commentedSubscribing.
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.
Comment #2
aharown07 commentedYes, 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?
Comment #3
bradweikel commentedI'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?
Comment #4
brianmercer commentedI 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?
Comment #5
bradweikel commentedThanks 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.
Comment #6
bradweikel commentedNow 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.