Closed Bug 1308983 Opened 8 years ago Closed 8 years ago

After logging in, user is redirected to Pontoon homepage instead staying on the same page

Categories

(Webtools Graveyard :: Pontoon, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zelitomas, Assigned: jotes)

Details

Steps to reproduce:

1) Log out (if you were logged in)
2) Go to any page except of homepage (for example https://pontoon.mozilla.org/cs/amo/LC_MESSAGES/django.po/)
3) Click 'Sign in' link

Expected behavior:
After login user will still be on the same page as before

Actual results:
User is redirected to https://pontoon.mozilla.org/



It is especially annoying when you find specific string you want to fix, but after login you have to search it again.



(I've tried to search if this wasn't reported before, but haven't found anything, so sorry if this is a duplicate)
Confirmed. That's a regression, introduced by bug 1218794.
Priority: -- → P3
Assignee: nobody → jot
:mathjazz

I fixed this issue locally for Firefox Accounts.
However, I discovered that django-allauth doesn't handle a 'next' parameter in case of persona provider: https://github.com/pennersr/django-allauth/blob/master/allauth/socialaccount/providers/persona/templates/persona/auth.html#L9

My question is: How much urgent is this issue for Persona? Because in the face of the incomining decomission in the next 20 days, we'll have to patch django-allauth implementation.
Let's ignore Persona in this case.
Priority: P3 → P2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/0841b68021faad1a00cc5613f8c3d9ad79863f5a
Fix admin form submission regression from be16ccd (#482)

A patch to fix bug 1308983 (commit be16ccd) introduced a form element,
which prevented the Admin form to be submitted due to too general
form selector in JS.
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.