[
https://issues.apache.org/jira/browse/OFBIZ-1634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571240#action_12571240
]
Bilgin Ibryam commented on OFBIZ-1634:
--------------------------------------
While trying to reproduce the bug, I saw 2 strange issues here (both cannot be
reproduced locally!)
1) If you go directly (w/o clicking around in ecommerce before that) to the
product screen
http://demo.hotwaxmedia.com/ecommerce/control/product/~category_id=PROMOTIONS/~product_id=GZ-2644
the "Review Product" link looks like that:
href="/ecommerce/control/reviewProduct;jsessionid=A399361B726899A88B27E5CA2F7B4C75.jvm1?category_id=PROMOTIONS&product_id=GZ-2644"
BUT when you click on it, the server does NOT get the parameters, you can see
that in the browser and at the server logs:
2008-02-21 17:37:29,055 (TP-Processor20) [ RequestHandler.java:243:INFO ]
[Processing Request]: reviewProduct
sessionId=A399361B726899A88B27E5CA2F7B4C75.jvm1
2008-02-21 17:37:29,055 (TP-Processor20) [ LoginWorker.java:264:INFO ]
reqParams Map: []
2008-02-21 17:37:29,056 (TP-Processor20) [ LoginWorker.java:265:INFO ]
queryString:
Locally, the link looks the same, but when i click on it, the logs looks like
that:
2008-02-22 01:49:24,953 (http-0.0.0.0-8080-Processor3) [
RequestHandler.java:243:INFO ] [Processing Request]: reviewProduct
sessionId=23CCE5697BB17CD923DC858A0D2097A8.jvm1
2008-02-22 01:49:24,953 (http-0.0.0.0-8080-Processor3) [
LoginWorker.java:264:INFO ] reqParams Map: [product_id=FA-001,
category_id=PROMOTIONS]
2008-02-22 01:49:24,953 (http-0.0.0.0-8080-Processor3) [
LoginWorker.java:265:INFO ] queryString:
product_id=FA-001&category_id=PROMOTIONS
You can see that when testing locally, product_id and category_id are not lost
and the product can be reviewed.
Any ideas why these reqParams are lost on the demo server?
2) The second issue is a more common one and easier to reproduce (on the demo
server):
If the request on ecomerce looks like that: <security auth="true"
https="false"/> for example editShoppingList and reviewProduct links, click on
it will require auth and you will get the login screen. BUT at this stage the
URL is http ( not https). If you enter username and pass, they will be not
accepted. The error message is:
The Username was empty, please re-enter.
The Password was empty, please re-enter.
Now the URL is https and you have to enter AGAIN your user name and pass to
log in.
> Cannot review a product.
> ------------------------
>
> Key: OFBIZ-1634
> URL: https://issues.apache.org/jira/browse/OFBIZ-1634
> Project: OFBiz
> Issue Type: Bug
> Components: ecommerce
> Affects Versions: SVN trunk
> Reporter: BJ Freeman
> Priority: Minor
> Fix For: SVN trunk
>
>
> http://demo.hotwaxmedia.com/ecommerce/control/product/~category_id=PROMOTIONS/~product_id=GZ-2644
> click on
> Be The First To Review This Product!
> login (i did as admin)
> get a blank page with this message
> Cannot review an unknown product.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.