[jira] Commented: (OFBIZ-2361) Category URL conflicts with product URL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2361) Category URL conflicts with product URL

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980007#action_12980007 ]

Wasun Sriwichai commented on OFBIZ-2361:
----------------------------------------

Hi Jacques Le Roux,

I have tested the use case above (create a product with Id 100 then URL http://localhost:8080/ecommerce/products/100/100)? already and it's working.

if you not patch file when create product_id same category_id then  URL http://localhost:8080/ecommerce/products/100 it will show the product page.

Thanks

> Category URL conflicts with product URL
> ---------------------------------------
>
>                 Key: OFBIZ-2361
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2361
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>         Environment: red hat, postgres
>            Reporter: Rohit Sureka
>         Attachments: CatalogUrlServlet.patch
>
>
> 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

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.