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

Deepak Agarwal commented on OFBIZ-4468:
---------------------------------------

It could be a side effect of following:

createShoppingListItem logically doesn't require a login but it then checks for 
checkShoppingListItemSecurity and here it falls out because of the security.  

I see 2 problem :

1) createShoppingListitem if can be accessed without login then it should not 
check for security later on.
2) While adding a new item to shopping cart, setQuantity method of 
ShoppingCartItem calls ShoppingListEvents.fillAutoSaveList(cart, dispatcher); 
IMHO it should only be called if user is logged in.

                
> After login it shows error 'Product not found!'
> -----------------------------------------------
>
>                 Key: OFBIZ-4468
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4468
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework, specialpurpose/ecommerce
>    Affects Versions: Release Branch 11.04, SVN trunk
>            Reporter: Kiran Gawde
>            Priority: Minor
>
> If you are browsing a product. And then hit login. After login, you will see 
> error 'Product not found!'
> e.g: while browsing following product, if you click login
> http://demo-trunk.ofbiz.apache.org:8080/ecommerce/tiny-chrome-widget-WG-5569-p
> after successful login, you will be redirected to:
> https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to