[
https://issues.apache.org/jira/browse/OFBIZ-6111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366122#comment-14366122 ]
Jacques Le Roux commented on OFBIZ-6111:
----------------------------------------
0) Apply your patch on trunk, build, start
1) Login
2) Logout
3) Add a product from main page -> you get to the cart page though the check box "Always View Cart After Adding An Item" is not ticked. You should stay on main page.
> Strange Behaviour of the eCommerice Login Link
> ----------------------------------------------
>
> Key: OFBIZ-6111
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6111> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/ecommerce
> Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
> Reporter: Forrest Rae
> Assignee: Jacques Le Roux
> Priority: Trivial
> Attachments: OFBIZ-6111.patch
>
>
> I've noticed some strange behaviour with the Login link in the eCommerce application. If you're visit the Login link from "main", you're redirected back to the Login view even after logging in:
> 1) Visit
http://demo-stable-ofbiz.apache.org/ecommerce/control/main> 2) Click "Login" in the upper left
> 3) Login as "DemoCustomer" with a password of "ofbiz"
> 4) Notice that you're at a new URL, logged in, but the login form is redrawn.
> Compare this with how it's supposed to work:
> 1) Logout
> 2) Visit
http://demo-stable-ofbiz.apache.org/ecommerce/tiny-gismo-GZ-1000-p> 3) Click "Login" in the upper left
> 4) Login as "DemoCustomer" with a password of "ofbiz"
> 5) Notice that you're at a new URL, but the product page is redrawn correctly.
> It's just really strange behaviour, quite hard to track down, and I can't really find a root cause.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)