Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #6840 (closed)

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: odd redirect between webadmin and web

Reported by: jamoore Owned by: wmoore
Priority: major Milestone: Unscheduled
Component: WebAdmin Version: n.a.
Keywords: n.a. Cc: saloynton, jburel, atarkowska, cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

  • Login to webadmin
  • Logout
  • Login to webclient
  • Logout
  • See login screen
  • Change URL from /webclient to /webadmin
  • Type user/pass
  • See webclient, i.e. I was redirected elsewhere.

Change History (4)

comment:1 Changed 12 years ago by wmoore

  • Owner changed from atarkowska to jmoore

When you go to

http://localhost:8000/webclient/login/?url=/webclient/

the redirect after login (to /webclient) has already been read. Editing the url at this point will have no effect.

Josh: Do you think this is behavior we need to support? If you just login, THEN edit the url, you will get where you want to be.

comment:2 Changed 12 years ago by jmoore

  • Cc cxallan added
  • Owner changed from jmoore to wmoore

With there now being a "userdata" and "admin" tab, this might not be so critical, since I think users will far less frequently be changing the URL now to go between webclient and webadmin. But if this can happen with other urls, it might be worth investigating since it's a VERY odd experience as a user.

comment:3 Changed 12 years ago by wmoore

  • Resolution set to wontfix
  • Status changed from new to closed

Discussed with Ola:

If you edit the url

http://localhost:8000/webclient/login/?url=/webclient/

to

http://localhost:8000/webclient/login/?url=/webadmin/

And hit enter (page refreshes) and THEN login, you will be directed to webadmin. If you simply edit the url and login on the same page (no refresh) then the url is ignored. This is standard web behavior: If I edit the url of any page in my browser (without hitting enter) then I click a link in the page, the edit is ignored.

I can understand why you expect the behaviour you've described (since I made the same mistake myself once) but it would require quite a bit of javascript trickery to get that to work (not even sure it's possible). OK to close?

comment:4 Changed 12 years ago by jmoore

The edit you posted isn't what happened in my case. Neverthless, this is probably not that critical. If I see a case of it really having a user impact, I'll reopen.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64808 sec.)

We're Hiring!