Xmlrpc: mweditpost doesn't have $blog_ID, and other issues

 
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
Dmitry Chestnykh
New Poster
New Poster

Joined: 05 Feb 2007
Posts: 1
add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Mon Feb 05, 2007 18:53    Post subject: xmlrpc: mweditpost doesn't have $blog_ID, and other issues Reply with quote

1.

When posting EDITING (calling metaWeblog.editPost) using Movable Type API (MetaWeblog API), the following error occurs: "No categories for this blog".

I've tracked this down to the following thing: metaWeblog.editPost doesn't send blogID (as required by specs). But b2evolution uses the following code to look for categories:

Code:

   // Categories:
   $cat_IDs = _mw_get_cat_IDs($contentstruct, $blog_ID, true /* empty is ok */);


The SQL code in this function uses $blog_ID. However, since $blog_ID is not defined, it fails to find categories and dies with error "No categories for this blog".

Proposal: somehow we need to get $blog_ID from $post_ID. Is there any way to do it?

2.

mt_allow_comments and mt_allow_pings must be integer values instead of strings in XMLRPC responses, as in specs.

P.S. b2evolution Version 1.9.2.

Thank you in advance! If you need any help, feel free to contact me.

__
@Dmitry from BlogJet
Back to top
View user's profile Send private message
smjacob
New Poster
New Poster

Joined: 03 Oct 2007
Posts: 1
add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Wed Oct 03, 2007 18:19    Post subject: Reply with quote

I seem to have the same problem, and I can't see any other way so I can avoid it. So doesn't anybody know the answer to this? It would greatly help me with a project involving a small business loans client.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> Bug reports All times are GMT - 5 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
b2evolution Support Forum RSS Feed Forums powered by php Bulletin Board