Reviewed & tested by the community
Project:
Primary Term
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Jan 2009 at 18:40 UTC
Updated:
21 Oct 2011 at 12:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
moshe weitzman commentedComment #2
sethcohn commented+1, I know this stretch of code has some other patches pending on that same bit of logic, so I'll review and combine with this in mind.
Comment #3
rmjiv commentedThis patch and the one in http://drupal.org/node/604076 are essentially duplicates. They cover slightly different cases for the same problem. Here is a patch for the code I've been running for the past year on our site. It should cover both cases.
Comment #4
EdinburghRob commentedThanks rmjiv,
This patch worked for me.
Comment #5
brianV commentedCommitted mikeryan's patch to -dev. Both of the two submitted patches did the job; mikeryan's was easier to read for future maintainers.
http://drupal.org/cvs?commit=435604
Comment #7
rmjiv commentedUnfortunately mikeryan's patch didn't have a fix that is required for Hierarchical Select support. HS stomps on the keys in the $node->taxonomy array. The values are still there, but it's not keyed by tid anymore. Attached patch works around this.
Comment #8
barrapontoworked fine for me. here is a formatted patch to make the mantainers' life easier.
see http://drupal.org/node/1054616 for more on this.