Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/services/impl
In directory james.mmbase.org:/tmp/cvs-serv5378
Modified Files:
Tag: b1_6
NewsletterPublicationServiceImpl.java
Log Message:
CMSC-1348 - Newsletter: Sent At-column is not working properly
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/services/impl
See also: http://www.mmbase.org/jira/browse/CMSC-1348
Index: NewsletterPublicationServiceImpl.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/services/impl/NewsletterPublicationServiceImpl.java,v
retrieving revision 1.34
retrieving revision 1.34.2.1
diff -u -b -r1.34 -r1.34.2.1
--- NewsletterPublicationServiceImpl.java 25 Feb 2009 02:46:50 -0000
1.34
+++ NewsletterPublicationServiceImpl.java 26 Mar 2009 08:41:03 -0000
1.34.2.1
@@ -107,6 +107,9 @@
}
Cloud cloud = CloudProviderFactory.getCloudProvider().getCloud();
Node edition = cloud.getNode(publicationId);
+ if(!sendSuccess.isEmpty()){
+ edition.setDateValue("publishdate", new java.util.Date());
+ }
NewsletterPublicationUtil.setIsSent(edition);
sendResults.put(SEND_SUCCESS, sendSuccess);
sendResults.put(SEND_FAIL, sendFails);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs