XMLRPC via WLW post revisions buggy and out of order
|Reported by:||archon810||Owned by:|
|Severity:||major||Keywords:||windows live writer, wlw, xml-rpc, xmlrpc, revisions|
When posting via Windows Live Writer to my 3.0.1 blog, I see a pretty big bug with revisions, compared to when posting via WP's interface.
Here's the problem: after updating a post with a few drafts between multiple authors, the draft history/compare page has all the names shifted in a really weird way. The first revision never gets into the list, the 2nd revision gets added as a 1st revision (the author of the 1st revision is shown as the author of the 2nd revision at this point), etc. It's an off-by-one problem.
I think it's easiest to understand the problem by looking at these 2 screenshots:
In both cases, I have tested in the following manner:
- Create the first draft using user Artem
- Edit the draft using user test
- Look at the post again using user Artem in WP - what you will see is pictured above.
Looking at the database entries, the 2 methods seem to follow an entirely different flow, with 3 rows for WP's method and 2 rows for WLW.
Such wrong revision presentation actually confused me quite a bit when trying to compare revisions to figure out which author made a certain change. I blamed the wrong one :-]
I hope I've explained this clearly.