while trying to put together a structure with distant parents (like the one i described in this post here ), i noticed that in the admin section for a certain container categories
administer>>categories (admin/category/x)
categories within a container that has more distant parents, get an identical duplicate for each distant parent they have.

I post this here as was asked in the main category.module thread in the forum, hope this is done in the right manner!

I uploaded a screenshot as well

cheers

CommentFileSizeAuthor
Picture 1_2.pdf12.23 KBmarcoBauli

Comments

Jaza’s picture

I tried reproducing the problem you've described, but was unsuccessful. I don't think I understand fully how you've set up your category structure. Could you give me more details as to your category and container settings, please? In particular, is it just the categories in your 'Year' container that have multiple distant parents, or does the 'Year' container itself also have multiple distant parents? Please list the parents of all categories and containers involved in your setup, and the 'hierachy' setting for all containers.

marcoBauli’s picture

For practical reasons i will list only the categories involved in this issue:

This is the desired structure:

Gear [C]          MH
--Boards          P: gear
--Equipment     P: gear
--Kites            P: gear
Year [C]          MH          DP: Gear (note: NOT Gear*) --> only 1 DP
--2004            [C]: year   P: year*, boards, equipment, kites
--2005            [C]: year   P: year*, boards, equipment, kites
--2006            [C]: year   P: year*, boards, equipment, kites

Legend:
[C]= container
MH= multiple hierarchy (s: single, m: multiple)
DP= distant parent
P=  parents

Now, when listing Year categories (admin/category/year), i get those duplicates.

This is a test site, so if may help please just let me know and i will send you login details to have a closer look

Thank you

Jaza’s picture

Status: Active » Fixed

Patch committed to HEAD for this.

You should now also be able to use activeselect with category when defining multiple parents, without any problems of not all selected values getting saved (see http://drupal.org/node/56026).

marcoBauli’s picture

working sweet now! Thank you man

Anonymous’s picture

Status: Fixed » Closed (fixed)