Opened 18 years ago
Closed 17 years ago
#7287 closed defect (bug) (fixed)
XML-RPC: metaWeblog.getRecentPosts returns a fault code (500) when there are no posts
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | XML-RPC | Keywords: | |
| Focuses: | Cc: |
Description
If there are no posts when you call the XML-RPC method metaWeblog.getRecentPosts it will return an error condition, with a fault code of 500. This seems rather pointless, since there's no real error. My suggestion would be to just return an empty list and let the client on their end decide what they want to do when there are no posts.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Interesting case. I agree with your assessment.