roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r507146 - /incubator/roller/branches/roller_4.0/src/org/apache/roller/webservices/xmlrpc/MetaWeblogAPIHandler.java
Date Tue, 13 Feb 2007 18:31:28 GMT
Author: snoopdave
Date: Tue Feb 13 10:31:27 2007
New Revision: 507146

URL: http://svn.apache.org/viewvc?view=rev&rev=507146
Log:
MetaWeblog API fix, return correct userid, merged from trunk

Modified:
    incubator/roller/branches/roller_4.0/src/org/apache/roller/webservices/xmlrpc/MetaWeblogAPIHandler.java

Modified: incubator/roller/branches/roller_4.0/src/org/apache/roller/webservices/xmlrpc/MetaWeblogAPIHandler.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_4.0/src/org/apache/roller/webservices/xmlrpc/MetaWeblogAPIHandler.java?view=diff&rev=507146&r1=507145&r2=507146
==============================================================================
--- incubator/roller/branches/roller_4.0/src/org/apache/roller/webservices/xmlrpc/MetaWeblogAPIHandler.java
(original)
+++ incubator/roller/branches/roller_4.0/src/org/apache/roller/webservices/xmlrpc/MetaWeblogAPIHandler.java
Tue Feb 13 10:31:27 2007
@@ -448,7 +448,9 @@
         struct.put("guid", Utilities.escapeHTML(permalink));
         struct.put("permaLink", Utilities.escapeHTML(permalink));
         struct.put("postid", entry.getId());
-        struct.put("userid", userid);
+        
+        struct.put("userid", entry.getCreator().getUserName());
+        struct.put("author", entry.getCreator().getEmailAddress());
         
         Vector catArray = new Vector();
         catArray.addElement(entry.getCategory().getPath());



Mime
View raw message