Adding a trailing space to a comment causes an error

RESOLVED FIXED

Status

()

defect
P2
major
RESOLVED FIXED
5 months ago
5 months ago

People

(Reporter: past, Assigned: kohei)

Tracking

Staging

Firefox Tracking Flags

(Not tracked)

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.
Posted file 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: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.