Adding a trailing space to a comment causes an error

RESOLVED FIXED

Status

()

P2
major
RESOLVED FIXED
19 days ago
18 days ago

People

(Reporter: past, Assigned: kohei)

Tracking

(Blocks: 1 bug)

Staging

Details

Attachments

(1 attachment)

I tried editing an existing comment of mine just adding a trailing space. After submitting the following error appeared in a dialog prompt:

Updated comment could not be saved. Please try again later.

Invalid parameter new_comment passed to EditComments.update_comment: It must be different from the current value.
Created attachment 9028608 [details] [review]
GitHub Pull Request

Forgot to add `trim()` to the client-side check.
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Merged to master.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.