[Yanel-commits] rev 20502 - public/yanel/branches/sandbox/src/core/java/org/wyona/yanel/servlet

josias at wyona.com josias at wyona.com
Fri Dec 1 14:50:30 CET 2006


Author: josias
Date: 2006-12-01 14:50:29 +0100 (Fri, 01 Dec 2006)
New Revision: 20502

Modified:
   public/yanel/branches/sandbox/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
Log:
ported bugfix from trunk for saving new atom entries

Modified: public/yanel/branches/sandbox/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
===================================================================
--- public/yanel/branches/sandbox/src/core/java/org/wyona/yanel/servlet/YanelServlet.java	2006-12-01 13:38:17 UTC (rev 20501)
+++ public/yanel/branches/sandbox/src/core/java/org/wyona/yanel/servlet/YanelServlet.java	2006-12-01 13:50:29 UTC (rev 20502)
@@ -436,6 +436,7 @@
                 InputStream in = intercept(request.getInputStream());
                 try {
                     Resource atomEntry = rtr.newResource("<{http://www.wyona.org/yanel/resource/1.0}atom-entry/>");
+                    atomEntry.setYanel(yanel);
                     // TODO: Initiate Atom Feed Resource Type to get actual path for saving ...
                     log.error("DEBUG: Atom Feed: " + request.getServletPath() + " " + request.getRequestURI());
                     Path entryPath = new Path(request.getServletPath() + "/" + new java.util.Date().getTime() + ".xml");




More information about the Yanel-commits mailing list