Closed Bug 1510832 Opened 7 years ago Closed 7 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)

References

Details

Attachments

(1 file)

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: 7 years ago
Resolution: --- → FIXED
Component: Extensions: EditComments → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: