Opened 8 years ago
Closed 8 years ago
#38720 closed defect (bug) (fixed)
REST API: Updating a comment without sending content is valid, but unsupported
Reported by: | jnylen0 | Owned by: | joehoyle |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | REST API | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
The REST API currently prohibits updating a comment unless the content is specified along with the update. Originally introduced here (and then shuffled around a bit afterwards).
This doesn't make sense with the rest of the API: it's possible (and common) to update only a couple of attributes at a time for a post.
Example use cases:
- Fixing a typo in the author name
- Resetting the parent of a comment if it was placed incorrectly on a p2
Attachments (4)
Change History (9)
This ticket was mentioned in Slack in #core by jnylen. View the logs.
8 years ago
This ticket was mentioned in Slack in #core-restapi by jnylen. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
We still want to prohibit comment updates with
content: ''
.