[jira] [Comment Edited] (OFBIZ-6111) Strange Behaviour of the eCommerce Login Link

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-6111) Strange Behaviour of the eCommerce Login Link

Nicolas Malin (Jira)

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

Taher Alkhateeb edited comment on OFBIZ-6111 at 10/24/15 4:56 PM:
------------------------------------------------------------------

Okay, here is what I did:

# ./ant clean-all load-demo
# ./ant start
# go to http://localhost:8080/ecomseo
# login as DemoCustomer with password ofbiz
# logout
# I'm taken back to the main page, no problem

Now, again I made the same exact test but instead of http://localhost:8080/ecomseo I went to http://localhost:8080/ecommerce. Now, I confirm the bug happens, but it happens only once, and only in this exact sequence

The workflow is made painfully complex so I need to try and dig through all the steps. I think the whole workflow is really not well designed. I'll do my best to reverse engineer this mess.


was (Author: taher):
Okay, here is what I did:

# ./ant clean-all load-demo
# ./ant start
# go to http://localhost:8080/ecomseo
# login as DemoCustomer with password ofbiz
# logout
# I'm taken back to the main page, no problem

Now, again I made the same exact test but instead of http://localhost:8080/ecomseo I went to http://localhost:8080/ecommerce. Now, I confirm the bug happens, but it happens only once, and only in this exact sequence

> Strange Behaviour of the eCommerce 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: Arun Patidar
>            Priority: Trivial
>         Attachments: OFBIZ-6111.patch, 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)