StackExchangeScripts icon indicating copy to clipboard operation
StackExchangeScripts copied to clipboard

SECommentLinkHelper - Comments are silently trimmed if they exceed the max length

Open JonasCz opened this issue 8 years ago • 1 comments

To reproduce:

  • Write a long comment with a / some bare Stack Exchange link(s), which is close to the maximum length limit.
  • Submit this comment.

When this comment is submitted, and the resulting length of the comment text is above the 600 character maximum (due to question title insertions by the script), the comment text is trimmed at the end, silently, and the partial trimmed comment is submitted.

I think it should not simply chop off the end of the comment if it's too long and submit it anyway, but should instead let me manually fix / shorten it and submit.

Awesome script though !

JonasCz avatar Mar 10 '16 22:03 JonasCz

Whoops, missed this when it was originally posted, sorry! The script does try to protect against this, but the mechanism changed a little out from underneath it. Will get it patched up, thanks for the report!

tms avatar Sep 28 '16 23:09 tms