I realize this is an older module -- dev at that. However, I'm sure many folks are still using 5.x so hopefully someone out there can help with this!

Here's my scenario -- very simple because I've been testing.

1. Create a simple vocab "test" with three terms "term 1" , "term 2", "term 3"
2. Create CCK content type.
3. Add "test" to the CCK using a multiselect (checkbox) content taxonomy widget.
4. Create a test node. Check any single term. Save.
5. Edit the node. Uncheck the term you checked. Save

Term isn't removed from node!

No matter what, it seems you can't remove any final term from a node with a content taxonomy widget.

Any ideas greatly appreciated.

Note, I've tried to change the weight of Content Taxonomy to be both before & after taxonomy.module.

CommentFileSizeAuthor
#1 content_taxonomy.030209.patch429 bytesmpaler

Comments

mpaler’s picture

Title: Term never removed » Can't remove all terms using content taxonomy widgets
StatusFileSize
new429 bytes

Changed the title to be more accurate.

Many hours later...

You need to explicitly set the taxonomy terms for a vid to be empty (null) for them to be completely removed from the node upon save. Attached patch fixes that.

mpaler’s picture

Status: Active » Needs review

Going to set this to patch for review though it feels like the train has left the station on 5.x-1.x-dev :(

liquidcms’s picture

nope.. not left yet.. we have would could be most popular Dr site in the world and we are still on Dr5, use this module, and have same issue - about to test your patch.

liquidcms’s picture

but nope, this doesn't fix the issue for me.. although... i think the issue is at the browser level.. when i ctrl-click and it unhighlights the selection, with FF3/firebug i can see items is still selected even thought it looks like it isn't. Tried with IE7 and same issue.

i think only solution is to have a widget as an option to select and then code in php to force removal.. the noderef multiselect field provides this.

liquidcms’s picture

ok, my bad.. had duplicate modules.. crap.. and made patch to wrong one.. not sure why this works.. but seems to.. thanks..

why hasn't this been committed to CVS?

magnus’s picture

Status: Needs review » Closed (won't fix)

Cleanup of old issues. According to maintainer: "active development is only done for the 6.x branch! 5.x is not supported any more".
Reopen issue if problem still exist in 6.x branch.