#15517 closed defect (bug) (fixed)
'postid' field in metaWeblog.getRecentPosts should be a string
Reported by: | mrroundhill | Owned by: | westi |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | critical | Version: | 3.1 |
Component: | XML-RPC | Keywords: | xml-rpc |
Focuses: | Cc: |
Description
In 3.1, the xml-rpc metaWeblog.getRecentPosts call is returning the 'postid' field as an integer when it should be a string:
http://msdn.microsoft.com/en-us/library/aa905674.aspx
Clients such as the WordPress for iPhone app can't handle the different type and force closes when refreshing the posts tab.
Attachments (1)
Change History (10)
#1
@
14 years ago
- Milestone changed from Awaiting Review to 3.1
- Owner set to westi
- Status changed from new to accepted
#3
@
14 years ago
We need to check the other API definitions to ensure we return the correct datatypes.
#4
@
14 years ago
I'd recommend being very cautious about this types of changes, for things that have been one way for a very long time. This might be the right thing to do, but that doesn't rule out the potential for causing problems with a large number of existing clients.
Note: See
TracTickets for help on using
tickets.
(In [16508]) Ensure that we return post IDs as strings to honour API defintions. See #15517