roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r551040 - in /roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc: BloggerAPIHandler.java MetaWeblogAPIHandler.java
Date Wed, 27 Jun 2007 04:55:28 GMT
Author: agilliland
Date: Tue Jun 26 21:55:27 2007
New Revision: 551040

URL: http://svn.apache.org/viewvc?view=rev&rev=551040
Log:
new entries created by xmlrpc need to have the locale properly set.


Modified:
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/BloggerAPIHandler.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/MetaWeblogAPIHandler.java

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/BloggerAPIHandler.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/BloggerAPIHandler.java?view=diff&rev=551040&r1=551039&r2=551040
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/BloggerAPIHandler.java
(original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/BloggerAPIHandler.java
Tue Jun 26 21:55:27 2007
@@ -403,6 +403,7 @@
             WeblogEntry entry = new WeblogEntry();
             entry.setTitle(title);
             entry.setText(content);
+            entry.setLocale(website.getLocale());
             entry.setPubTime(current);
             entry.setUpdateTime(current);
             User user = roller.getUserManager().getUserByUserName(userid);

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/MetaWeblogAPIHandler.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/MetaWeblogAPIHandler.java?view=diff&rev=551040&r1=551039&r2=551040
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/MetaWeblogAPIHandler.java
(original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/xmlrpc/MetaWeblogAPIHandler.java
Tue Jun 26 21:55:27 2007
@@ -244,6 +244,7 @@
             WeblogEntry entry = new WeblogEntry();
             entry.setTitle(title);
             entry.setText(description);
+            entry.setLocale(website.getLocale());
             entry.setPubTime(new Timestamp(dateCreated.getTime()));
             entry.setUpdateTime(current);
             entry.setWebsite(website);



Mime
View raw message