Hello,
I apologies if this question has been addressed before, but I wasn't able to
find info on this. The questions is as follows:
When I add a category and a subcategory to the catalog, both category and
subcategory shows up at the same level (1st level in catalog). How can I turn
it off?
Alex Melnik wrote:
Hello,
I apologies if this question has been addressed before, but I wasn't able to
find info on this. The questions is as follows:
When I add a category and a subcategory to the catalog, both category and
subcategory shows up at the same level (1st level in catalog). How
Jacek, thanks for the help. I tried changes the CategoryWorker but that
doesn't seem to help. I am using the rollup. I'm doing an ETL into the schema
though. I'm thinking that maybe I'm not setting some field properly, so my
categories and subcategories get flattened up in addition to being
to get an idea of what you have to do, you can look the mini-language
for dealing with categories. this is all taken care of if you use them.
applications\product\script\org\ofbiz\product\category
Alex Melnik sent the following on 8/25/2008 10:19 AM:
> Jacek, thanks for the help. I tried changes
BJ, Thanks for the advice. I took a look at the xml and it seems I'm doing
everything as instructed. I also went through a business setup guided an did
step-by-step catalog/category setup. I seems that in either case all the
subcategories get rolled up to the catalog (or rather browsing root)
what rev of the trunk are you using.
just checking since we have had some problems with recent revs.
Alex Melnik sent the following on 8/25/2008 11:43 AM:
> BJ, Thanks for the advice. I took a look at the xml and it seems I'm doing
> everything as instructed. I also went through a business setu
it's a few months old rev was at the company when I got here... I found the
reason the categories where duplicate. In CategoryWorker.java:
getRelatedCategoriesRet() on line 204 and 207, all categories are being added
pretty much to the list. Once you comment those addAll calls you regu
from looking at this it might be from using 1.5.
the was a lot of work done recently to fix typing.
I get this message for getRelatedCategoriesRet
Type safety: The method addAll(Collection) belongs to the raw type List.
References to generic type List should be parameterized
Alex Melnik sent the
Oh and lines have changed it was last worked on 8/17/08
Alex Melnik sent the following on 8/25/2008 2:03 PM:
> it's a few months old rev was at the company when I got here... I found
> the reason the categories where duplicate. In CategoryWorker.java:
> getRelatedCategoriesRet() on line
I'm really not sure how something like this would cause data from one place to
end up in another place...
Alex: to make progress on this you'd probably have to do an export of your ProductCategory and ProductCategoryRollup
entities and send at least part of it over and hope someone has some ti
David, I probably wasn't clear. I actually commented addAll calls and it works
fine now (or at least it seems to present categories properly). So I think I'm
good. I was sending the email to let everybody know more than to try to get
help. I'll keep you updated if any functionality gets mess
If it's possible your checkout was taken between the 12th and the 16th
of January, then all of this makes sense because there was a bug in
the CategoryWorker class during that time. If that is the case then
you should make the changes listed here:
http://svn.apache.org/viewvc?view=rev&revision=612
12 matches
Mail list logo