atrijitdasgupta / wordpress-java

Automatically exported from code.google.com/p/wordpress-java
Other
0 stars 0 forks source link

Warning: value "794" is invalid for "postid", setting it to "null" #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Wordpress wp = new Wordpress(usr, pwd, url);
2. Page post = wp.getPost(794);
3. post.setTitle(tmp);
4. post.setExcerpt(cont);
5. post.setDescription(cont);
6. wp.editPost(794, post, "publish");

What is the expected output? What do you see instead?
I want to update an existing post id 794. It works normally but there is a 
warning (Warning: value "794" is invalid for "postid", setting it to 
"null"). Excerpt is not added.

What version of the product are you using? On what operating system?
I am using jre 1.5, Wordpress 2.9.2, Windows Vista

Please provide any additional information below.
None -- great project though, thanks

Original issue reported on code.google.com by reji...@gmail.com on 30 Mar 2010 at 3:01

GoogleCodeExporter commented 9 years ago

Original comment by can.bican@gmail.com on 31 Mar 2010 at 1:26

GoogleCodeExporter commented 9 years ago
I fixed this. Now there is no warning, and excerpts can be set. r52 in svn is 
related to this bug.

Original comment by can.bican@gmail.com on 4 Apr 2010 at 6:47