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 |
Any word on this? I'm importing data from another system and categories and products with the same ID's are causing problems.
http://ofbiz.135035.n4.nabble.com/Error-in-new-category-URL-s-td161102.html |
Administrator
|
See status here https://issues.apache.org/jira/browse/OFBIZ-2361
Jacques From: "boldhardware" <[hidden email]> > Any word on this? I'm importing data from another system and categories and > products with the same ID's are causing problems. > > http://ofbiz.135035.n4.nabble.com/Error-in-new-category-URL-s-td161102.html > > > > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/Error-in-new-category-URL-s-tp161102p4635209.html > Sent from the OFBiz - User mailing list archive at Nabble.com. |
|
In reply to this post by Jacques Le Roux
Hi even i am getting the same error, I feel it will be better if the IDs are dynamically generated with different prefixes for IDs at the time of creation or there must be some way to differentiate whether the request URl is for Category or Product. Here in OFbiz, the same sequence starts for Category, Products etc so when you try to hit the url related to category, the product with the Same ID gets loaded.
|
|
Free forum by Nabble | Edit this page |