Hi,

I'm not sure if it's a bug, feature request or something, but it's bugging me for days now. Whenever I try to assign a node to two categories, it will make a menu item only for the first one and forgets the second. More, I get a PHP error in the watchdog logs:

Duplicate entry '49-42' for key 1 query: INSERT INTO category_hierarchy (cid, parent) VALUES (49, 42) in /home/tit.nl/public_html/includes/database.mysql.inc op lijn 120.

Category:
Lists:
news
products
printed stuff
product A
premium stuff
(Products A)

(between) is missing. If you please, please check out www.tit.nl/promotie. Site is in Dutch, but the problem should be plain to see.

Thanks
Mark

Comments

bdragon’s picture

Please try again with today's version.
This bug was most likely a side effect of the category_get_parents() problem described in
http://drupal.org/node/76921

Thank you for your patience.
--Brandon

ron_mahon’s picture

When you select multiple hierarchal vocabulary the 0 weight dose not correctly alpha the second or third tier or level.

Those menu items are put in last are the first to display (floats to the top like a -9).
The first level works fine.

Thanks
Ron

bdragon’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of
http://drupal.org/node/78906.

The PHP error is very likely due to a problem during saving that was accidentally left out of the category_get_parents bugfixes.
The current issue for this problem is
http://drupal.org/node/92818.