Closed Bug 714799 Opened 12 years ago Closed 11 years ago

Error when trying to leave a group

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2013-02-07

People

(Reporter: andrew.findlay, Assigned: giorgos)

Details

Edit your profile on the production Mozillians site.
Type some random strings in the groups box - each gets created as a group.
Save the profile. You are now member of some groups.
Click on one of the groups.
Click 'Leave group' button.
Sometimes you leave the group, sometimes you get an error.

May be related to Bug 705713
Leaving the group using the red cross beside its name in the Edit Profile screen seems rather more reliable.
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Version: Firefox 6 → other
We moved to SQL; I don't see this issue anymore. Anyone else see it?
I get an 'leaving group' UX error:

1. Go to group page 
2. Press the leave button
3. You get returned to the same page, again with the 'leave' button. Even if you reload should still get the 'leave group' button.
4. Go to your profile page, you're not member of the group anymore
(In reply to Giorgos Logiotatidis [:giorgos] from comment #3)
> I get an 'leaving group' UX error:
> 
> 1. Go to group page 
> 2. Press the leave button
> 3. You get returned to the same page, again with the 'leave' button. Even if
> you reload should still get the 'leave group' button.
> 4. Go to your profile page, you're not member of the group anymore

Interesting; it's working fine for me on production and dev. I do see the behavior in step 3 on staging, but the button changes after a reload. 

I was using the @mozilla.com account and was join/leaving a curated group if that matters.
looks ok on production and local.... click leave group button changes and I am no longer in group.

If this happens again please note the specific group and we can debug,
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
Looks to be a cache issue and specific to stage.

Regardless we should make this view non-cacheable.

I think we can use the @never_cache decorator on this specific view.
Assignee: nobody → giorgos
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
I get the caching issue on prod too. I'll go ahead and use the never_cache decorator to fix that.
Commits pushed to master at https://github.com/mozilla/mozillians

https://github.com/mozilla/mozillians/commit/80c93bc91cc87ae60f7b5b05f5cc820ecfca73ea
[fix bug 714799] Never cache group view page.

https://github.com/mozilla/mozillians/commit/d975100e25abfdc8038612968e53f820e4c53a08
Merge pull request #374 from glogiotatidis/714799

[fix bug 714799] Never cache group view page.
Status: REOPENED → RESOLVED
Closed: 12 years ago11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-02-07
Andrew: thanks for filing the bug (over a year ago!). I've tested joining adding and leaving groups on our staging env (mozillians.allizom.org) and all appears to work correctly.

Expect to see the change land in production later this week.

Once again thank you for taking the time to file an issue. If you still see this issue after we've pushed to production please do let us know.

QA verified fixed on stage.
Status: RESOLVED → VERIFIED
OS: Linux → All
Hardware: x86_64 → All
You need to log in before you can comment on or make changes to this bug.