Letractively / ateam-webstore

Automatically exported from code.google.com/p/ateam-webstore
0 stars 0 forks source link

Category ID showing instead of Category Name on product listings page #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click on any category from the homepage
2.
3.

What is the expected output? What do you see instead?
The resulting list of products is headed with the category id rather than the 
category name

Please use labels and text to provide additional information.

Original issue reported on code.google.com by scott.si...@gmail.com on 1 Dec 2011 at 3:59

GoogleCodeExporter commented 8 years ago
Hendrix, I'm calling getName() to build the header, the but the ID is given 
instead.  Any ideas?

Original comment by B.J.D...@gmail.com on 1 Dec 2011 at 8:00

GoogleCodeExporter commented 8 years ago
I just checked with the following code and it seems to be working correctly.

        Collection<Category> categories = new CategoryService().getAll();
        for (Category category : categories) {
            System.out.println(category.getName());
        }

Original comment by htava...@gmail.com on 4 Dec 2011 at 4:06

GoogleCodeExporter commented 8 years ago
Fixed in latest deployment

Original comment by B.J.D...@gmail.com on 4 Dec 2011 at 9:33

GoogleCodeExporter commented 8 years ago
Fix verified

Original comment by scott.si...@gmail.com on 4 Dec 2011 at 10:07