[
https://issues.apache.org/jira/browse/OFBIZ-5665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047231#comment-14047231
]
ofbiz user commented on OFBIZ-5665:
-----------------------------------
You're too quick here, Jaques.
Some bugs don't go away just because they're an eyesore.
This one is especially discouraging because it seems to show up an a freshly
setup system and is a true showstopper.
The log indicated that after hitting an "add-to-cart" link, there was no
session anymore.
I then watched the browser's cookie list while operating the shop frontend.
ofbiz's session cookies vanished from the list just after clicking on any
"add-to-cart" link, regardless if I were anonymous or logged in customer.
I searched the logs, but I could not find detailed logging for the session
management,
so I was not able to perform a root cause analyses - it would have been
neccesary to set up a debug environment, which I do not have time for, or
introduce more detailed logging to the session management, which I do not have
time for either.
This bug persisted in my setup until I started playing around with different
browsers, proxys, store to website associations and multiple stores. I guess
the latter did the trick.
My guess of the cause is an interference of the seed/demo setup data with the
server stack/configuration data, that gets fixed by switching websites around.
So it might only be visible in fresh setups.
But, as I am no more affected, I will not go after it unless it shows up again
and there grow better logging facilities.
> REL-12.4.3 ecommerce: 'add to cart' action clears cookies, disrupts session,
> shop unusable
> ------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5665
> URL: https://issues.apache.org/jira/browse/OFBIZ-5665
> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/ecommerce
> Affects Versions: Release Branch 12.04
> Reporter: ofbiz user
> Fix For: Release Branch 12.04
>
>
> In REL-12.4.3
> I add a product to the cart, which works fine; item and prices show
> up in minicart.
> But ofbiz cookies are cleared in that very moment, so the session
> is effectively killed.
> This happens similarily when I am an anonymous user or logged in as
> a DemoCustomer.
> standard configuration with demo data and derby; client firefox
> general.properties: currency = EUR GEO is in EU, VAT calculation works
> Does not occur when item cannot be added to cart because of error.
--
This message was sent by Atlassian JIRA
(v6.2#6252)