Refreshing a page sends you back to the root of the page
Closed, ResolvedPublic

Description

When viewing a project or guide refreshing the page sends you back to the main page.

Steps to reproduce:

  • Log into ohai.lulzbot.com/admin using Iceweasel or Chromium
  • Go back to the root page: ohai.lulzbot.com
  • View any project or guide
  • Refresh the page, or click in the address bar, and hit enter.

Behavior exhibited:

  • Redirected to ohai.lulzbot.com

Desired behavior:

  • Reload the current page
Orias created this task.Dec 2 2015, 1:25 PM
Orias added a project: Ohai-kit.
Orias added a subscriber: Orias.

I can't reproduce this issue, can you see if it happens on all pages or a specific one ?

Orias added a comment.EditedDec 9 2015, 3:01 PM

It looks like clearing my cookies eliminates that behavior, until I log into ohai.

Orias edited the task description. (Show Details)Dec 9 2015, 3:03 PM

Clearing the cookies or logging out eliminates the behavior, on both Chromium and Iceweasel. Once you log back in though, that behavior returns.

Thanks for the useful info! The guest workflow was restricted to guest users, so it would redirect to "/" if you were logged in. this is a side effect of the new feature I added last time to allow seeing the guest workflow even if logged in instead of the "begin job" interface.
It should be fixed now, and I've updated it on the server as well.