Error replying to comment made with whitespace hidden - Your comment could not be submitted
Reproduced in Chrome and Safari
I tried logging out and logging back in again
Both commenting and review show the same message
Steps to reproduce
-
- hide whitespace changes
-
- comment on line 54
-
- comment is submitted (previously it would have failed due to #338844 (closed))
-
- reply to that comment
-
- 422 ->
{"commands_changes":null,"command_names":null,"valid":false,"errors":{"line_code":["can't be blank","must be a valid line code"]}}
- 422 ->
If comment is part of the review, the submit review dialog box will not be closed and users will be able to submit a duplicate review, which ends up with the user submitted duplicate comments.
Edited by Jay McCure