hn-special icon indicating copy to clipboard operation
hn-special copied to clipboard

Unable to reply

Open abrkn opened this issue 8 years ago • 1 comments

Steps to reproduce this issue

  1. Go to the comments for post, such as https://news.ycombinator.com/item?id=12297530
  2. Click "Reply" on a comment, such as https://news.ycombinator.com/reply?id=12297924&goto=item%3Fid%3D12297530%2312297924

Expected result

Loaded page with comment box

Actual result

Blank page

visual_theme.js:206 Uncaught TypeError: Cannot read property 'tagName' of undefined
(anonymous function) @ visual_theme.js:206
(anonymous function) @ visual_theme.js:161
Settings.runModule @ settings.js:86
(anonymous function) @ settings.js:63
(anonymous function) @ settings.js:62

Notes and screenshots

Fails to load

abrkn avatar Aug 16 '16 16:08 abrkn

The particular comment you linked to seems to be handled gracefully now (screenshot below). I can't replicate it elsewhere. My guess, based on your linked comment, is that Hacker News itself had a bug when replying to a comment marked as [dupe].

image

PxlBuzzard avatar Feb 07 '17 07:02 PxlBuzzard

Seeing this issue again

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getElementsByClassName')
    at Object.callback (visual_theme.js:88:39)
    at Settings.runModule (settings.js:72:46)
    at settings.js:49:14
    at Array.forEach (<anonymous>)
    at HTMLDocument.<anonymous> (settings.js:48:24)
    at _.load (utility.js:16:16)
    at settings.js:45:7
    at utility.js:38:58

Example: https://news.ycombinator.com/item?id=33150086 commenting on any of these.

e.g. https://news.ycombinator.com/reply?id=33150819&goto=item%3Fid%3D33150086%2333150819

The OP original URL also exhibits this behaviour.

inverse avatar Oct 10 '22 14:10 inverse

I am seeing the same issue as @inverse. Happens on every page and every comment. Replying is completely broken.

pratnala avatar Jan 14 '24 06:01 pratnala

@pratnala PR'd a fix :crossed_fingers:

inverse avatar Jan 15 '24 20:01 inverse

Is it published? I'm unable to find it in Chrome store

inverse avatar Feb 07 '24 17:02 inverse