Sorry Rshekhar,

I tried your change but it does not work
Also it would have been better to create a Jira for history sake, follow 
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Jacques

From: "rshekhar.in" <[email protected]>
> Categories links not working in case of alternative URL if the category id is
> a single word.
> 
> For example , when using
> http://demo-trunk.ofbiz.apache.org/ecommerce/gismos-gismos-c
> 
> i.e. your alternative url is gismos and your product category id is gismos,
> then it is not able to resolve the category id.
> 
> A patch is attached...
> 
> changed this line
> /productCategoryStr = alternativeUrl.replace(textData + "-", "");/
> to
> /productCategoryStr = alternativeUrl.replaceFirst(textData + "-", "");/
> 
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/Categories-links-not-working-in-case-of-alternative-URL-if-the-category-id-is-a-single-word-tp4633554.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to