TVTropes Now available in the app store!
Open

Follow TV Tropes

Following

Can't edit YKTTW reply

Go To

Stratadrake Dragon Writer Since: Oct, 2009
Dragon Writer
#1: Aug 2nd 2011 at 10:38:18 AM

Can't find my old thread on it atm, but the old YKTTW-replies-mixed-up bug is still occuring.

  • If I post comment A, sometimes comment X shows up in its place instead. (I've got screenshots.) Exactly why/how is a question for the Random Number God, but moving on....

  • When I reload the page (close/reopen the YKTTW, or visit its permanent URL) comment A (mine) shows up just fine. Good, looks like my comment did process correctly and gets retrieved correctly. So there are no permanent side-effects of the bug....

  • ...or are there? When I try to edit comment A (mine), comment X (not mine) is what shows up on the Edit form. (I've got screenshots.) I'm guessing this is because when you click the 'Edit' link, only the comment's own ID gets passed as an argument, but since we actually have two comments (on separate YKTT Ws) with that ID, the server doesn't know which one we're referring to and picks one arbitrarily* . Or maybe it actually picked both of them* but the YKTTW code only paid attention to whichever one came "first"* .

  • I'm also willing to bet that if I actually do edit the comment, it will end up editing both replies instead of only editing mine* .

Basically it's just the new-reply code (where it displays the comment you just posted) and edit-comment code that still need fixing, they need to use both the comment ID and YKTTW ID as arguments.

edited 2nd Aug '11 10:38:48 AM by Stratadrake

An Ear Worm is like a Rickroll: It is never going to give you up.
Stratadrake Dragon Writer Since: Oct, 2009
Dragon Writer
#2: Aug 19th 2011 at 7:27:36 PM

It just happened again and I can supply full documentation:

Note the repeated edits by both Nocturna and Discovery. They are actually two separate comments, but because they share the same comment ID any edit to either comment actually ends up changing both comments.

edited 19th Aug '11 7:48:18 PM by Stratadrake

An Ear Worm is like a Rickroll: It is never going to give you up.
Stratadrake Dragon Writer Since: Oct, 2009
Dragon Writer
#3: Aug 30th 2011 at 8:21:15 PM

Another incident. I'll try to report absolutely everything, but this is the last one I'm going to bump. (If my hypothesis about the cause is correct, instances will theoretically increase as time goes on.)

Self-inflicted amnesia YKTTW

(comment #12, id = xrdhpb6m) added: 2011-08-30 20:08:18 by Stratadrake
^ I think it's supposed to mean that they are the one responsible for their own amnesia.

Overlapping previous comment: Quirky Curls YKTTW

(comment #40, id = xrdhpb6m) added: 2011-08-30 12:19:53 by ???
Webcomic example: Owen from Project0

Sorry I missed who actually posted the previous comment (certainly wasn't me). :(

edited 30th Aug '11 8:41:50 PM by Stratadrake

An Ear Worm is like a Rickroll: It is never going to give you up.
Fighteer Lost in Space from The Time Vortex (Time Abyss) Relationship Status: TV Tropes ruined my love life
Lost in Space
#4: Aug 31st 2011 at 7:05:06 AM

Randomly generated unique ID collisions have happened before in other contexts. There needs to be some way for the system to recognize when it's done this.

"It's Occam's Shuriken! If the answer is elusive, never rule out ninjas!"
Stratadrake Dragon Writer Since: Oct, 2009
Dragon Writer
#5: Aug 31st 2011 at 9:06:56 AM

The current YKTTW is actually better at handling collisions than the old YKTTW, it just continues to occur when comments are queried without their accompanying YKTTW ID — specifically, these two cases only:

  • Immediately after posting a new comment (displays wrong comment until page reload)
  • When editing a comment (displays wrong markup, affects both comments when submitted)

(The old YKTTW had a third case when loading the main YKTTW page, but that's long fixed)

An Ear Worm is like a Rickroll: It is never going to give you up.
SeptimusHeap from Switzerland (Edited uphill both ways) Relationship Status: Mu
#6: Feb 14th 2016 at 12:40:00 PM

Editing of comments no longer exists, so closing as "moot".

"For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." - Richard Feynman
Add Post

Total posts: 6
Top