Ticket #3662 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Can't post using Ecto b/c categoryID should be string not int

Reported by: foolswisdom Assigned to: ryan
Priority: low Milestone: 2.1.1
Component: XML-RPC Version: 2.1
Severity: normal Keywords: xml-rpc has-patch commit
Cc:

Description

Can't post using Ecto b/c categoryID should be string not int

ADDITIONAL DETAILS

FROM http://nslog.com/2007/01/23/categoryid_in_wordpress_21_breaks_ecto/

When requesting new information in ecto (via "Refresh"), ecto attempts to retrieve the last 15-20 or so entries, their categories, their dates, etc. WordPress 2.1 sends this:

<member><name>categoryId</name><value><int>7</int></value></member>

It should send this:

<member><name>categoryId</name><value><string>7</string></value></member>

ALSO SEE http://wordpress.com/forums/topic.php?id=5922

This patch is well tested on WordPress.com since 12/10/06 and was not previously merged in error.

Attachments

3662-xmlrpc-categoryId.diff (400 bytes) - added by foolswisdom on 01/24/07 19:17:25.
3662-xmlrpc-categoryId.trunk.diff (402 bytes) - added by foolswisdom on 01/24/07 19:23:20.

Change History

01/24/07 19:17:25 changed by foolswisdom

  • attachment 3662-xmlrpc-categoryId.diff added.

01/24/07 19:23:20 changed by foolswisdom

  • attachment 3662-xmlrpc-categoryId.trunk.diff added.

01/25/07 02:07:14 changed by ryan

  • owner changed from anonymous to ryan.

(in reply to: ↑ description ) 01/25/07 09:34:38 changed by alexkucera

Replying to foolswisdom:

Can't post using Ecto b/c categoryID should be string not int ADDITIONAL DETAILS FROM http://nslog.com/2007/01/23/categoryid_in_wordpress_21_breaks_ecto/ When requesting new information in ecto (via "Refresh"), ecto attempts to retrieve the last 15-20 or so entries, their categories, their dates, etc. WordPress 2.1 sends this: <member><name>categoryId</name><value><int>7</int></value></member> It should send this: <member><name>categoryId</name><value><string>7</string></value></member>

ALSO SEE http://wordpress.com/forums/topic.php?id=5922 This patch is well tested on WordPress.com since 12/10/06 and was not previously merged in error.

I just applied the patch to my Wordpress 2.1 install as Lloyd suggestd on the Testers mailing list. Works like a charm. Thank you.

01/25/07 18:27:50 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [4807]) Cast categoryId to string to be compliant. fixes #3662