Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/util In directory james.mmbase.org:/tmp/cvs-serv8222/portlets-newsletter/src/java/com/finalist/newsletter/util
Modified Files: NewsletterPublicationUtil.java Log Message: CMSC-811 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.17 retrieving revision 1.18 diff -u -b -r1.17 -r1.18 --- NewsletterPublicationUtil.java 8 Mar 2008 15:57:55 -0000 1.17 +++ NewsletterPublicationUtil.java 16 Apr 2008 09:18:12 -0000 1.18 @@ -14,6 +14,7 @@ import com.finalist.cmsc.navigation.NavigationUtil; import com.finalist.cmsc.navigation.PagesUtil; +import com.finalist.newsletter.domain.Publication; public abstract class NewsletterPublicationUtil { @@ -63,6 +64,7 @@ String urlFragment = String.valueOf(publicationNode.getNumber()); publicationNode.setStringValue("urlfragment", urlFragment); publicationNode.setStringValue("publishdate","null"); + publicationNode.setStringValue("status", Publication.STATUS.INITIAL.toString()); publicationNode.commit(); copyThemesAndContent(newsletterNode, publicationNode, copyContent); _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs