[ https://issues.apache.org/jira/browse/OFBIZ-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
abhishake updated OFBIZ-1255: ----------------------------- I have been looking into the code to find the cause of the problem. I found that below snippet of code in the ordermgr/WEB-INF/actions/entry/catalog/product.bsh is commented out. /* * NOTE JLR 20070221 this should be done using the same method than in add to cart. I will do it like that and remove all this after. * if (productId != null) { previousParams = session.getAttribute("_PREVIOUS_PARAMS_"); if (previousParams != null && previousParams.length() > 0) { previousParams = UtilHttp.stripNamedParamsFromQueryString(previousParams, UtilMisc.toList("product_id")); previousParams = previousParams + "&product_id=" + productId; System.err.println("product id is null------------"+productId); } else { previousParams = "product_id=" + productId; System.err.println("product id is not null------------"); } session.setAttribute("_PREVIOUS_PARAMS_", previousParams); // for login context.put("previousParams", previousParams); } */ Uncommenting the above piece of code resolves this problem (product not found for product id). However, product navigation (previous| next) stops working on product detail screen for the current product. Comments on top of code say something which I am not able to understand. Can someone explain what is the intent of this code comment. > product not found for product id > -------------------------------- > > Key: OFBIZ-1255 > URL: https://issues.apache.org/jira/browse/OFBIZ-1255 > Project: OFBiz > Issue Type: Bug > Components: ecommerce > Affects Versions: Release Branch 4.0 > Environment: Ubuntu 7.4 > Reporter: abhishake > Fix For: Release Branch 4.0 > > Attachments: productdetail.png, Screenshot2.png > > > when we get login after visiting the product detail screen i.e I should > see the same product detail after login but this is not happening instead I > see a message " product not found for product id". This problem doesn't come > when you add the product to a cart from product detail screen and then get > login. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.