Closed Bug 1510832 Opened 2 years ago Closed 2 years ago

Adding a trailing space to a comment causes an error

Categories

(bugzilla.mozilla.org :: Extensions, defect, P2)

Staging

Tracking

()

RESOLVED FIXED

People

(Reporter: past, Assigned: kohei.yoshino)

References

Details

Attachments

(1 file)

45 bytes, text/x-github-pull-request
Details | Review
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.
Attached 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
Closed: 2 years ago
Resolution: --- → FIXED
Component: Extensions: EditComments → Extensions
You need to log in before you can comment on or make changes to this bug.