Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/util
In directory james.mmbase.org:/tmp/cvs-serv13443

Modified Files:
        NewsletterPublicationUtil.java 
Log Message:
CMSC-811 auto create publication,clone  attachment when add publication


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/util
See also: http://www.mmbase.org/jira/browse/CMSC-811


Index: NewsletterPublicationUtil.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/util/NewsletterPublicationUtil.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- NewsletterPublicationUtil.java      4 May 2008 12:02:12 -0000       1.22
+++ NewsletterPublicationUtil.java      5 May 2008 01:50:56 -0000       1.23
@@ -83,7 +83,7 @@
             publicationNode.setStringValue("status", 
Publication.STATUS.INITIAL.toString());
             publicationNode.commit();
 
-           // copyTermsAndContent(newsletterNode, publicationNode, 
copyContent);
+            copyTermsAndContent(newsletterNode, publicationNode, copyContent);
             copyOtherRelations(newsletterNode, publicationNode);
             NavigationUtil.appendChild(newsletterNode, publicationNode);
             Node layoutNode = PagesUtil.getLayout(publicationNode);
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to