Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[beta] login state on subsequent visits #12801

Closed
P1xt opened this issue Jan 24, 2017 · 10 comments
Closed

[beta] login state on subsequent visits #12801

P1xt opened this issue Jan 24, 2017 · 10 comments
Labels
help wanted Open for all. You do not need permission to work on these. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.

Comments

@P1xt
Copy link
Contributor

P1xt commented Jan 24, 2017

Issue Description

Twice now I've been working through challenges on the beta site (logged in just fine) and closed out my browser at the end of the day. When I next returned to the site, the app redirected me to the last challenge I was working on but the editing and display panes were empty, and rather than my avatar and profile link in the nav, there is a link to "sign up".

No amount of clicking on "sign up" will get me back to a state where I can sign up or sign back in.

Clicking on map shows me all challenges on the map. However, I would surmise that I am not logged in as none of the challenges I've completed are marked as complete.

Oddly though, clicking on the shop updates my state to signed in, the challenges have content again, my avatar reappears, and everything goes back to normal.

To reproduce

  • Login on the beta site.
  • Complete any item on the map.
  • Close the browser.
  • Open the browser and navigate back to the beta site.

Browser Information

  • Browser Name, Version: Chrome
  • Operating System: Ubuntu 16.04
  • Mobile, Desktop, or Tablet: Desktop

Screenshot

freecodecamp

@OFFLlNE
Copy link

OFFLlNE commented Jan 24, 2017

Yea, happened to me ALOT.
Also I just can't get off this redirected page in any easy way.
Almost none of the menu links redirect me(only shop). (Map) gives me map URL but I have to refresh this url for it actually to redirect me to there.
Waiting for big PR that would fix it and make it usable

@OFFLlNE OFFLlNE added the beta label Jan 24, 2017
@raisedadead
Copy link
Member

Can't reproduce on local.
/cc @BerkeleyTrue

@raisedadead raisedadead added the status: blocked Is waiting on followup from either the Opening Poster of the issue or PR, or a maintainer. label Jan 24, 2017
@P1xt
Copy link
Contributor Author

P1xt commented Jan 25, 2017

@raisedadead I just double-checked to confirm. Browsed back to the beta site (having not yet been there today) and I experienced the same issue I originally reported.

@raisedadead
Copy link
Member

We are aware of the issue and investigating, we just haven been able to reproduce it on local.

@systimotic
Copy link
Member

Adding the description of #12674 to this:

Upon login, the user is brought back to the next challenge. If the challenge happens to be a project, the page layout is broken and clicking on Map has no effect.

Steps to reproduce: log out of the beta site, close browser window, and log in again using email and password.

@ghost
Copy link

ghost commented Jan 27, 2017

@raisedadead I just reproduced it on local. Please note that the issue only occurs if the current challenge is a project (at least in my experience).

@raisedadead
Copy link
Member

@systimotic @leonfeng Thanks a ton, I have been running around the bushes for the root cause.
Also I am tagging this as help wanted.

@raisedadead raisedadead added type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc. confirmed help wanted Open for all. You do not need permission to work on these. and removed status: blocked Is waiting on followup from either the Opening Poster of the issue or PR, or a maintainer. labels Jan 27, 2017
@ghost
Copy link

ghost commented Jan 27, 2017

Root cause isolated: missing </a> from seed JSON files. Working on a fix.

@ghost ghost mentioned this issue Jan 27, 2017
10 tasks
@systimotic
Copy link
Member

Great catch @leonfeng!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Open for all. You do not need permission to work on these. type: bug Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Projects
None yet
Development

No branches or pull requests

4 participants