You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pradeep Choudhary (Jira)" <ji...@apache.org> on 2020/04/25 12:00:03 UTC

[jira] [Issue Comment Deleted] (OFBIZ-11608) Added Item does not exist in the cart when anonymous user revisits the eCommerce store

     [ https://issues.apache.org/jira/browse/OFBIZ-11608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pradeep Choudhary updated OFBIZ-11608:
--------------------------------------
    Comment: was deleted

(was: We have added user login check into 'restoreAutoSaveList' event to fix the authorization error, which is thrown while restoring autoSaveListId for anonymous user.

It restricts to restore autoSaveListId only for logged in user.

Need to fix authorization issue at the service level instead of restricting it in the event.)

> Added Item does not exist in the cart when anonymous user revisits the eCommerce store
> --------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-11608
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11608
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Release Branch 16.11, Trunk
>         Environment: [link title|http://example.com]
>            Reporter: Pradeep Choudhary
>            Assignee: Pradeep Choudhary
>            Priority: Minor
>
> Steps to regenerate:
> 1. Set the 'autoSaveCart' field to 'Y' in product_store entity (for Store 9000).
> 2. Open Firefox browser, as it deletes the cookies as soon as the user closes the browser application. (To reproduce it on chrome, need to disable setting for 'Continue running background apps when Google Chrome is closed')
> 3. Visit the [eCommerce store|https://localhost:8443/ecommerce/control/main]
> 4. Add items to the cart without logging in (as an anonymous user)
> 5. Close the browser application.
> 6. Revisit the eCommerce store.
> Actual:
> Shopping Cart is showing empty.
> Expected:
> Previously added items should persist in the item for the anonymous user also. 
> Note:
> It is working fine, if the user logged In to the application, add items to cart, closes the application. Revisits the store, previously added items persist in the cart.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)