Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 548290

Summary: Loosing of posts on forum due to cookie expiration
Product: Websites Reporter: tot-to <bugs.gentoo.org.list>
Component: ForumsAssignee: Forum Moderators <forum-mods>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tot-to 2015-05-01 00:03:30 UTC
I've wrote a long post on Gentoo forum and proceed with the "Submit" button, but instead of posting it I've got a log-in form. I've entered my credentials again and was redirected back to the "Post a new topic" page, but it was clear.

It is very disappointing, when you need to do a double work with no reason.

It is possible to reproduce this behaviour by logging out in another browser tab/window. 

Reproducible: Always

Steps to Reproduce:
1. Log in to Gentoo forum
2. Open "Post a new topic" page, write some text.
3. Open Gentoo forum in another tab, proceed with "Log out [username]" link
4. Return to the first tab and proceed with "Submit" button.
5. Enter your username and password
Actual Results:  
Clear "Post new topic" form

Expected Results:  
Either a posted topic or "Post new topic" form with previously entered text.

Also, when I use the back button of my browser (firefox), I expect to see the previous page (with filled form), but it redirects to log-in page anyway.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-05-01 16:21:43 UTC
(In reply to tot-to from comment #0)
> Steps to Reproduce:
> 1. Log in to Gentoo forum
> 2. Open "Post a new topic" page, write some text.
> 3. Open Gentoo forum in another tab, proceed with "Log out [username]" link

I'll leave the authoritative reply to the forums team, but I think that your assumption that you can continue to use unsaved data after you have ended your session is wrong.

So, in short: Don't log out while posting.
Comment 2 tot-to 2015-05-01 16:52:28 UTC
I didn't log out. It's a way how to quickly reproduce the problem. You can just wait for a while instead.

Anyway, discarding the message doesn't look as a correct behaviour even when I end the session manually.

At least my browser normally remembers old pages. But the forum software somehow prevents me to go back with my browser.