[wp-trac] [WordPress Trac] #7287: XML-RPC:
metaWeblog.getRecentPosts returns
a fault code (500) when there are no posts
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 12 22:43:20 GMT 2008
#7287: XML-RPC: metaWeblog.getRecentPosts returns a fault code (500) when there
are no posts
-------------------------+--------------------------------------------------
Reporter: josephscott | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: XML-RPC | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/7287>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list