Closed (won't fix)
Project:
Drupal core
Version:
5.x-dev
Component:
blogapi.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
31 May 2005 at 22:38 UTC
Updated:
5 Jun 2011 at 06:43 UTC
Jump to comment: Most recent file
Comments
Comment #1
laura s commentedI use ecto, set to MoveableType API,but so far I'm not able to repeat this problem.
Could it be the client? I was also able to set Drupal's BlogAPI to the MetaWeblog setting and it seemed to work fine -- even with ecto set to MoveableType API. You might be able to try that as a workaround.
Comment #2
mrmachine commentedI tried ecto on my son's Windows box, and yes - it does set categories correctly ... too bad there's no linux version
but anyway, i tried changing Drupal's blogapi to Metaweblog, and kept Drivel and BlogTK set to Moveable Type API. It didn't work for Drivel, but it did for BlogTK ... thanx for the hint!
Comment #3
fflewddur commentedI've been trouble-shooting this issue using w.bloggar on Windows and Drivel on Linux. w.bloggar is able to post using the Movable Type API, but the category selection only works if you click "Post", not "Post and Publish". Drivel, by default, publishes all posts, which is why the category never shows up when using Drivel with Drupal. To post entries with categories to an official Movable Type implementation, the client must first post the entry, then call mt.setPostCategories, and then call mt.publishPost. The mt.publishPost call is what seems to be confusing Drupal, as it doesn't appear to differentiate between a post that has been published with one which has. Movable Type does not publicly display posts which have not been published; it considers them as drafts which the author has not yet finished. Thus, Movable Type servers require the mt.publishPost call.
I have Ethereal traces of several example posts to Drupal using both w.bloggar in "post" and "post and publish" mode, as well as Drivel. If you think they'd be useful in debugging, let me know and I'll forward them on to you.
Cheers,
Todd
Comment #4
mrmachine commentedhas anyone had a chance to look at this since Todd debugged it?
Comment #5
mrmachine commentedcan someone have a look at this?
Comment #6
walkah commentedhaving a look - it seems that mt.publishPost may well have been wiping the term info set by setCategory.
As I only have ecto available to me currently, I can't test this patch... but if I understand the debugging work correctly - this should fix it. (the difference being ecto and MarsEdit - the two that I have access to currently - don't call publishPost).
please confirm this fixes things... thanks. (I'll test more when I'm home again at the end of the week).
Comment #7
walkah commentedComment #8
mrmachine commentedbeauty! this has fixed it for me!
thanx
shayne
Comment #9
baudolino commentedThis is not fixed until a decision about whether to commit this patch is made. Reverting this to patch status.
Comment #10
dries commentedActually, this is an annoying property of
node_save()... I guess you can't usenode_invoke_nodeapi($node, 'insert')ornode_invoke_nodeapi($node, 'update')?Comment #11
walkah commentedi'm not sure that'd make a difference, would it? isn't the issue that $node->taxonomy is unset?
Comment #12
mrmachine commentedi upgraded to 4.6.2 (a tad late though - i'd been hacked), and am now back to the original problem (i.e. - using Drivel or BloGTK, i am unable to set the category - i can choose one, but it doesn't stick) ... i'm guessing it's because this is "not fixed" and so wasn't committed with the 4.6.2 release.
am i able to use the same patch to "not fix" 4.6.2? in doing so, i won't mess up any 4.6.2 security patches, will i?
shayne
Comment #13
mrmachine commentedno. no i can't.
i'd really like to test any possible fixes.
are there any?
Comment #14
mrmachine commentedhas anyone managed to test this patch on 4.6.2? i haven't been able to get it working, so i'm back to a patched 4.6.1 blogapi.module ... i just hope this doesn't mean i'm still open to security vulnerabilities of 4.6.1 as my site was defaced only last week ... though i'm sure the vulnerability was only in the xmlrpc.php file.
Comment #15
dries commentedI committed this patch to DRUPAL-4-6. I won't commit it to HEAD. We need a better fix for this.
Comment #16
dries commentedComment #17
killes@www.drop.org commentedSetting to "needs work"
Comment #18
moshe weitzman commentedretrieving categories doe snot work still for metaweblog. we are returning the syntax for moveable type insteasd. see http://bb.infinite-sushi.com/viewtopic.php?p=6375#6375. the metaweblog.getCategoriesList is documented at http://www.xmlrpc.com/metaWeblogApi
Comment #19
magico commentedSee also http://drupal.org/node/76139
Comment #20
magico commentedComment #21
tstoecklerIf this is still an issue, please move this issue to the contrib BlogAPI module. Marking won't fix.