Scott Gray wrote:
Hi Jacek
You must assign the parent category using the category rollup screen,
it is not enough to just assign the primaryParentCategoryId.
Regards
Scott
2008/8/23 Jacek Wagner <[EMAIL PROTECTED]>:
Jacques Le Roux wrote:
What makes you believe that ? Did you see any issues in result ?
Jacques
From: "Jacek Wagner" <[EMAIL PROTECTED]>
I have noticed while working with Catalog-Categories that the list of top
categories (parent category is null) is incorrect.
I believe that CategoryWorker.java (producing the list of top categories)
has an error;
in line 105 "CurrentProductCategoryRollup" should be replaced with
"PrimaryParentCategoryId"
Jacek
I created a top category using UI, I checked db and found in the
ProductCategory table my newly created category with PrimaryParentCategoryId
= null as expected.
Then I created a sub-category using UI and checked db again and found in the
ProductCategory table my sub-category with PrimaryParentCategoryId pointing
to top category as expected.
After that selecting Choose Top Categories from the UI (webtools/menu
catalog/Browse Categories) I would expect to see my top category only, but I
have seen top category along with sub-category instead).
Jacek
Thank you. Works perfectly.
Jacek