Stomp has created two threads recently that can't be read

In the past five minutes stomp has created two thread titled "Bug: empty lines get sometimes duplicated in new post". When I try to read either of those threads, Safari gives me a window containing the message shown in the attachment.

I tried 2x to open a thread. At first I thought, there was a network error, so I tried again. Same outcome at the second post.

From console I get a redirect loop for those two threads:

wget --spider "https://www.unix.com/showthread.php?p=303029237#post303029237"
Spider mode enabled. Check if remote file exists.
--2019-01-23 21:17:14--  https://www.unix.com/showthread.php?p=303029237
Resolving www.unix.com (www.unix.com)... 209.126.104.117
Connecting to www.unix.com (www.unix.com)|209.126.104.117|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.unix.com/post-here-to-contact-site-administrators-and-moderators/280875-bug-empty-lines-get-sometimes-duplicated-new-post.html#post303029237 [following]
Spider mode enabled. Check if remote file exists.
--2019-01-23 21:17:15--  https://www.unix.com/post-here-to-contact-site-administrators-and-moderators/280875-bug-empty-lines-get-sometimes-duplicated-new-post.html
Connecting to www.unix.com (www.unix.com)|209.126.104.117|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.unix.com/post-here-to-contact-site-administrators-and-moderators/280875-bug-empty-lines-get-sometimes-duplicated-new-post-new-post.html [following]
Spider mode enabled. Check if remote file exists.
--2019-01-23 21:17:15--  https://www.unix.com/post-here-to-contact-site-administrators-and-moderators/280875-bug-empty-lines-get-sometimes-duplicated-new-post-new-post.html
Connecting to www.unix.com (www.unix.com)|209.126.104.117|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.unix.com/showthread.php?p=303029237#post303029237 [following]
Spider mode enabled. Check if remote file exists.
--2019-01-23 21:17:16--  https://www.unix.com/showthread.php?p=303029237
Connecting to www.unix.com (www.unix.com)|209.126.104.117|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.unix.com/post-here-to-contact-site-administrators-and-moderators/280875-bug-empty-lines-get-sometimes-duplicated-new-post.html?#post303029237 [following]
Spider mode enabled. Check if remote file exists.
--2019-01-23 21:17:16--  https://www.unix.com/post-here-to-contact-site-administrators-and-moderators/280875-bug-empty-lines-get-sometimes-duplicated-new-post.html?
Connecting to www.unix.com (www.unix.com)|209.126.104.117|:443... connected.
...

It may be that this was a side effect of me moving two posts from a hijacked thread into the new thread Please write a script for me???

Did I do something wrong?

Another idea:

I was promoted by an automatic change last week or so to group "forum advisor". Maybe this is connected to this issue?

Just soft delete them for now.

I will look at the error later.

I will be extremely surprised if your promotion has anything to do with the problem we're seeing here. I'm sure Neo will let us know what happened and tell me what I did this time that I should never do again when I moved those two posts into a new thread.

My wild guess would be that you were creating a post linking to one of the posts I moved and you ended up posting with a reference to a web address that no longer exists because I moved the posts.

1 Like

OK.

I looked at the log files and the DB. While I do not fully understand what happened, this has not happened before (in over a decade) so I am not going to spend anymore time on it than the work below (about 30 mins or so) ::

The log file shows that Don was splitting threadid 280824 to threadid 280873.

The database shows Stomp had duplicate posts (text below) with threadids 280874, 280875, which I have deleted and posted the text below, so Stomp can repost as he wishes.

I DO NOT think Don's moderation action of splitting threadid 280824 to threadid 280873 caused the actions (caused the bug), because Don's thread works fine and is totally distinct in the DB with different thread and post IDs.

For some reason, there were two exact copies of Stomps post below but with two different threadids references the same postids.... I've never seen that before in a decade and so I have:

  • Deleted the threadids from the DB.
  • Deleted the posts from that threadid(s).
  • Posted Stomps original post before deleting, so he can repost if he wishes.

OBTW: This has nothing to do with Stomps role as Forum Advisor and his new usergroupid.

Also, regarding the bug report below, I post 100s of posts and threads, too many, and do not understand the problem from the description because as I see it, everything is working fine.

Stomp, if you have any style or formatting issues, please post detailed screen shots, markups on the screen shot are helpful as well.

Even better is to read the HTML source code in your browser and post the exact code you want to changed and your proposed changes!

Thanks everyone!

Bug: empty lines get sometimes duplicated in new post | 1548273661 | Issue 

- write a new post
 - Click on preview or submit

Effect

 Sometimes where one empty line was, now there are 2 empty lines. 



If a selected preview, delete the duplicated line and select preview again. The line is not duplicated any more. An additional line is inserted after a bullet list every time, even on multiple previews.
 
Environment

- Browser: Firefox 64.0.2
 - OS: Linux (Debian 9.6)

It seems it happened again. I tried again to post my bug report. I assume it has to do with this special subforum and my user.

I can second that: i tried to read your post and got the "too many redirects" errors too.

For reference, my gear:

Firefox v56 (64-bit)
Linux (4.15.0-45-generic) x86_64

This is the thread in question: thread

I tried to remove the "#post303030218" part of the URL but that didn't help any.

Firefox' error message is:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

bakunin

1 Like

I will look into it.

Thanks!

I have the same error but in Google Chrome browser. I can't open the thread by @stomp

Hey stomp,

Wow... you are amazing at finding strange things.

I could reproduce the "too many redirects error" in the Admin forum but I cannot exactly figure out what is triggering it. I tried deleting the bbcode, changing the order in the post and finally was able to get it to post if it removed the word "post" from the end of the thread title. I could reproduce that most of the time, but not always. There are no PHP errors, or DB errors, so my guest it is a bug in the DragonByte SEO plugin which does the URL rewriting and redirection, somehow combined with the world "post" somehow... but I'm not sure how or why.

In the meantime, I've posted your original bug report on the duplicate blank lines issue, which I cannot yet reproduce, in the UG and you can see that in this posts all blank lines work fine; but I'll look into it in more detail later.

Great bug hunting! Thanks!

Thanks and Cheers!