Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-2361

Category URL conflicts with product URL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Release Branch 13.07, 14.12.01, Trunk
    • 14.12.01, Trunk
    • ecommerce
    • None
    • red hat, postgres

    Description

      Hi,

      I just found out a potential bug in the new URL structure for category links in the ecommerce page.

      The new URL's for a category link reads as http://demo.ofbiz.org/ecommerce/products/100/100

      here 100 is the category ID, this URL should ideally list all products in the category with ID 100. However if we create a product with ID 100 ie. product_id=100, there arise the bug. Instead of all item being shown in the category, the product page for product_id 100 is displayed, irrespective of the category/catalog/store that product ID belongs to.

      I think this is a unusual behavior, and may cause problems for people wanting to move on to newer code.

      Please let me know if should open a jira issue for it.

      Rohit

      Attachments

        1. CatalogUrlServlet.patch
          3 kB
          Wasun Sriwichai

        Issue Links

          Activity

            People

              pandeypranay Pranay Pandey
              rohit2006 Rohit Sureka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: