Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 296349 - In forums: 'submit reply' or 'preview reply' returns to list of forums, message not saved
Summary: In forums: 'submit reply' or 'preview reply' returns to list of forums, messa...
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Forums and Newsgroups (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Forums and Newsgroups inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 10:35 EST by John T. Murphy CLA
Modified: 2020-09-22 11:23 EDT (History)
3 users (show)

See Also:


Attachments
Screenshot (71.48 KB, image/png)
2009-12-23 07:42 EST, David Balažic CLA
no flags Details
screenshot of problem (78.86 KB, image/png)
2009-12-23 10:26 EST, David Balažic CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John T. Murphy CLA 2009-11-27 10:35:37 EST
From:

http://www.eclipse.org/forums/index.php?t=thread&frm_id=17&S=f4fa6cb31327772a3b626dc409db409b

I notice that I'm not yet logged in so I click 'Login' (at the top right)

It remembers me on the computer, so the same page loads but this time has my login name (sometimes it doesn't remember me, and I have to in completely, re-entering my login and password; this doesn't correlate with the error, as far as I can tell... after writing the rest of this message I tried logging out and in, with no change...)

I click on the 'Problems installing and running (Vista Home 64 bit)' topic

It opens to the topic page listing all of the messages. I scroll to the bottom. I click 'Post Reply' (On some occasions I have tried to 'reply' to the last message posted).

It opens a message composition page; I go to the message body and type useful prose...

I click 'Submit Reply'... (on recent occasions I have tried 'preview message'; the behavior is the same.)

Instead of seeing my post or anything related to the topic I see:

http://www.eclipse.org/forums/index.php?t=index&S=979cc3b5bf716d12aff756a4962522f0

which is a list of eclipse forums. When I return to the AMP forum and the appropriate topic, my post isn't there, nor can I see it when I go to my 'control panel' and click 'Show own posts'- the last one of mine it has is Monday AM (I think the error first occurred when I tried to post Sunday and didn't know that the post didn't take; I reposted Monday successfully but have not succeeded since).
Comment 1 Francis Upton IV CLA 2009-12-19 15:25:24 EST
This could be related to bug 298258.
Comment 2 Denis Roy CLA 2009-12-22 10:26:51 EST
Got another one here:
http://www.eclipse.org/forums/index.php?t=msg&th=159762

I think part of this is related to the fact that FUDForum maintains state in the URL.  I think that can be disabled -- will try.
Comment 3 David Balažic CLA 2009-12-22 11:19:55 EST
It happened again a few minutes ago.
I clicked on the Preview button.
Comment 4 David Balažic CLA 2009-12-22 11:27:32 EST
God, the state management is really borked. I clicked on Login (I was in some subforum) and it loaded the main (forum index) page, still not looged in. Then I clicked Login again and now it shows me as logged it.

And then the second time I pushed Preview, it gave a flod error (even if I havent posted for hours). Then 20 second later, I tried to post to another thread, and there both Preview and Submit worked. That message is:

And the message that I tried to post in vain is:

It is 16:17:09 (UTC) Tuesday, December 22, 200, and the forum accused me of flood*.

My last post was several hours ago, according to the Show Own Posts page at 12:42 (not sure what time zone)

* - it says :
ERROR: Post flood triggered.
Please try again in 1787 second(s)

How can one (short) post each 5 hours be a flood?
Another bug to file?
(due to the above problems, the actual time I post this is 16:31 UTC)
Comment 5 Denis Roy CLA 2009-12-22 11:29:14 EST
Karl, we do have sticky enabled for www, right?  Does it inspect a specific cookie?
Comment 6 David Balažic CLA 2009-12-22 11:34:58 EST
Sorry, I left out some parts from the last message:

 - the forum post that succeeded is http://www.eclipse.org/forums/index.php?t=msg&goto=504782#msg_504782

 - between the first and second paragraph I should have put this text: I went to try to post the same message as before. I typed it and then...

Additionlly the following happened since comment 4:
I tried to post another message. I made sure the page showed that I was logged in. I typed the message (actually, Lazarus, the Firefox plugin, just recovered it for me), and after clicking Submit I got:

Error
Invalid URL

(and the text was lost again. But thanks god for Lazarus...)

Now I will try to clean up any eclipse.org related cookies and start from clean at http://www.eclipse.org/forums/index.php
Comment 7 Denis Roy CLA 2009-12-22 11:37:41 EST
In the Forum's control panel, I changed two things:

1. The cookie path was set incorrectly to /fud/.  That was my dev environment URL, so I changed that to /forums/

2. I disabled URL session tracking.  I think that was messing with a bunch of URLs.


That being said, if anyone was logged in, they may need to re-log in.
Comment 8 David Balažic CLA 2009-12-22 11:43:33 EST
And my saga continues...

(I also cleaned the browser cache)
Now the reply is again Flood error.

But I can still post nonsense, like:
 - ping (testing)  - the message I mentioned and linked before)
 - tre - another one I made : http://www.eclipse.org/forums/index.php?t=msg&goto=504785&#msg_504785

I this due to any changes you are making right now on the server? Or a different bug?
Comment 9 David Balažic CLA 2009-12-22 11:53:29 EST
Final note: I was able to edit both of the mentioned forum posts, so now they don't have the content I wrote here. ("ping" and "tre")
Comment 10 Denis Roy CLA 2009-12-22 16:16:20 EST
With the changes I have made in Comment 7, the Forum is already doing a better job of keeping me logged in (ie, after hours of inactivity, clicking a link or hitting reload doesn't show me as an anonymous user).  Since the cookie change may take some time to 'stick' on various browsers, let's give it a day or two (or the entire XMas break).
Comment 11 David Balažic CLA 2009-12-23 04:31:39 EST
It is doing a too good job ;-)

If I click Logout and the Login again, it automatically logs me in instead of asking for credentials.
So if I want to log in under another account, it is impossible (without userside hacking).
Comment 12 David Balažic CLA 2009-12-23 04:45:51 EST
Not sure if this is a separate bug, but it might be related to this changes, so I post here first:

Every now and then* after submit I get  ERROR: Post flood detected. Try again in 13880 seconds.

 - this was my second post today, a reply to a post made by someone else
 - trying again to post after few minutes succeeds

* - started happening yesterday

---

Maybe also related:
I was at http://www.eclipse.org/forums/index.php?t=showposts&id=31506 , marked as not logged in. I clicked Login and got forwarded to Control Panel, marked as logged in. I clicked "Show Own Posts" and got the the original page, marked as not logged in and missing my last post.

It seems the page has wrong headers (regarding caching) and is not (re)loaded properly.

Doing a SHIFT-Reload (it is Firefox 3.5.6) then loads the correct page (logged in and up to date with regard to message list).
Comment 13 David Balažic CLA 2009-12-23 07:42:41 EST
Created attachment 154962 [details]
Screenshot

Just to clarify: the exact text of the flood error is:

ERROR: Post flood triggered.
Please try again in 8683 second(s)

This time the seconds counter is lower, but I could still make posts (3 in all today).
Also a quick calculation shows that the counter does not go down correctly. Since the first time it occurred 3 hours have past, but the seconds count is lower only by about 1 hour and 45 minutes.

--

I also experienced a page update problem again. Now it was a topic list after I posted a message (I created a new topic). My new topic was not listed. After forcing a refresh it appeared. (the topic is : http://www.eclipse.org/forums/index.php?t=msg&goto=504896&#msg_504896)
Comment 14 Denis Roy CLA 2009-12-23 09:45:27 EST
> So if I want to log in under another account, it is impossible (without
> userside hacking).

At first I thought this was a feature, but this is an interesting use case.  I've opened bug 298467 to track this separate issue.



> Every now and then* after submit I get  ERROR: Post flood detected. Try again
> in 13880 seconds.

Interesting.  I've opened bug 298468 to track this.


Feel free to cc yourself to those bugs.  I'll investigate the caching parameters we're using for the forums.  We may be a little too aggressive.

Thanks for reporting all these issues!
Comment 15 David Balažic CLA 2009-12-23 10:26:33 EST
Created attachment 154973 [details]
screenshot of problem

And now the server clock appears to be wrong.

http://www.eclipse.org/forums/index.php?t=msg&goto=504896&#msg_504896

See the message post dates. The reply appears to be posted two hours before the original message.

trying to break some kind of record ? ;)
Comment 16 Denis Roy CLA 2012-03-06 19:47:34 EST
We've reduced the caching on the forums.. I'm not sure if this is still a problem.  Can someone confirm?
Comment 17 Eclipse Genie CLA 2014-10-16 15:20:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 18 Eclipse Genie CLA 2016-10-07 12:55:37 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 19 Eclipse Genie CLA 2018-09-28 17:18:18 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 20 Eclipse Genie CLA 2020-09-19 07:46:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 21 Eclipse Webmaster CLA 2020-09-22 11:23:26 EDT
Closing as 'fixed' after 8 years with no response.

-M.