Page 1 of 1 :: Viewing 1-19 of 19
Invisible comments? - Started by: Thorvald
Invisible comments?
Posted: 12 May 2023, 10:05 PM

So I went to post a comment on this piece, only to get an error message—something I've never encountered before. Reloading the page reveals a blank rectangle that I'd assumed were deleted comments on older (2010 and previous) pieces, but that may instead be errors related to an issue @DaGrandDragonn had with glitching replies (see blank rectangles here, and the Epic Stack if someone else remembers where that was posted). I can't think of anything different I did to provoke it, but if anyone else knows (and can link to) known broken comments, we might be able to build a usable diagnostic profile.

RE: Invisible comments?
Posted: 12 May 2023, 10:18 PM

In this case, I think I know what is happening. It would appear the comment thread was created, but not the comment itself. Which, if you're seeing this a lot, then there are a bunch of orphaned threads with no comments in them. That part is easily fixable. Figuring out how to prevent that will take a little bit more work. :P
-- BK

RE: Invisible comments?
Posted: 12 May 2023, 11:27 PM

Okay, all orphaned comment threads have been removed, and code is now in place for the next update to fix this from happening again.

RE: Invisible comments?
Posted: 19 May 2023, 07:42 PM

"DAAAAAD IT BROKE AGAAAAIN..!"

RE: Invisible comments?
Posted: 19 May 2023, 07:58 PM
Thorvald:
["DAAAAAD IT BROKE AGAAAAIN..!"](https://www.side7.com/u/Morothias/journal/98)

Fixed. I wish I knew how that happened. The way things are coded, no comment thread should be created if the comment wasn't created. WTH?
-- BK

RE: Invisible comments?
Posted: 19 May 2023, 09:03 PM
Good news: Ghosts busted.

Bad news: I still can't actually reply on that journal. :x

RE: Invisible comments?
Posted: 19 May 2023, 09:05 PM
Thorvald:
Bad news: I still can't actually reply on that journal. :x

What's happening when you try?

RE: Invisible comments?
Posted: 19 May 2023, 09:12 PM
Same error popup as what made the ghosts:

"Oh, man!
An error occurred, and we could not save your comment.
Please try again later."

The only difference I can think of is using two line separator characters (
) to spell out the Markdown syntax for hotlinks:

!
[bracket alt text]
(parenthesize URL)
but that's never caused problems in any of my other posts.

RE: Invisible comments?
Posted: 19 May 2023, 10:03 PM

That's really strange. Nothing has changed in code, so I don't know why that would suddenly start being a problem. Will it submit without the l-sep characters?
-- BK

RE: Invisible comments?
Posted: 19 May 2023, 10:13 PM

Possibly, but without an 'edit' button I don't wanna go spamming imperfect posts. :p

RE: Invisible comments?
Posted: 19 May 2023, 10:22 PM
Thorvald:
Possibly, but without an 'edit' button I don't wanna go spamming imperfect posts. :p

Fair.

Of course, there's the dev server you could try it on. I've got test journal posts on there you could comment on.
-- BK

RE: Invisible comments?
Posted: 20 May 2023, 03:17 PM

Tested various combinations and it is the line break. Checked in general upload comments and it posts fine, so the error seems specific to journal comments.

RE: Invisible comments?
Posted: 20 May 2023, 06:43 PM

Good to know. Gives me something to look into. Thank you.
-- BK

RE: Invisible comments?
Posted: 12 Jul 2023, 09:18 PM

I've found another break-point: Writing my original comment on this piece, I hit the rating stars by accident, clicked again to remove them, and the post failed and produced an empty frame. Tested on the dev server and the same thing happens (see empty comments on "Large canvas demo"). This corrupts the widget for all subsequent post attempts and the page must be reloaded to clear it.

RE: Invisible comments?
Posted: 12 Jul 2023, 10:16 PM
Thorvald:
I've found another break-point: Writing my original comment on [this piece](https://www.side7.com/content/q09vL1wx8O), I hit the rating stars by accident, clicked again to remove them, and the post failed and produced an empty frame. Tested on the dev server and the same thing happens (see empty comments on "Large canvas demo"). This corrupts the widget for all subsequent post attempts and the page must be reloaded to clear it.

Thank you for the head's up. I'll add it to the to-do list. sigh
-- BK

RE: Invisible comments?
Posted: 01 Aug 2023, 04:21 PM
Thorvald:
Tested various combinations and it *is* the line break. Checked in general upload comments and it posts fine, so the error seems specific to journal comments.

Update: It seems Journal comments also have an issue with nonstandard characters. ALT+13 (♪) broke my initial replies on this journal.

RE: Invisible comments?
Posted: 01 Aug 2023, 04:59 PM
Thorvald:
Thorvald:
Tested various combinations and it *is* the line break. Checked in general upload comments and it posts fine, so the error seems specific to journal comments.
Update: It seems Journal comments also have an issue with nonstandard characters. ALT+13 (♪) broke my initial replies on [this journal](https://www.side7.com/u/Camazotz/journal/254).

Ugh, I'm so confused as to why. Those fields accept UTF-8 characters. headdesk
-- BK

RE: Invisible comments?
Posted: 09 Jul 2024, 08:47 PM

This has been an issue for a while but I either forgot to mention or thought it was fixed: Adding and then removing a rating from a submission comment produces an error message on posting, but creates an empty post.

RE: Invisible comments?
Posted: 09 Jul 2024, 09:32 PM

Thorvald:

This has been an issue for a while but I either forgot to mention or thought it was fixed: Adding and then removing a rating from a submission comment produces an error message on posting, but creates an empty post.

I shall add this to my bug list.

-- BK

Page 1 of 1 :: Viewing 1-19 of 19