Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/forms
In directory james.mmbase.org:/tmp/cvs-serv25585
Modified Files:
Tag: b1_5
NewsletterPublicationPublish.java
Log Message:
CMSC-1153 Another Newsletter stacktrace
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/forms
See also: http://www.mmbase.org/jira/browse/CMSC-1153
Index: NewsletterPublicationPublish.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/forms/NewsletterPublicationPublish.java,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -b -r1.21 -r1.21.2.1
--- NewsletterPublicationPublish.java 23 Sep 2008 10:31:36 -0000 1.21
+++ NewsletterPublicationPublish.java 25 Nov 2008 10:35:03 -0000 1.21.2.1
@@ -35,10 +35,14 @@
public class NewsletterPublicationPublish extends MMBaseFormlessAction {
- /** name of submit button in jsp to confirm removal */
+ /**
+ * name of submit button in jsp to confirm removal
+ */
private static final String ACTION_REMOVE = "remove";
- /** name of submit button in jsp to cancel removal */
+ /**
+ * name of submit button in jsp to cancel removal
+ */
private static final String ACTION_CANCEL = "cancel";
/**
@@ -76,7 +80,7 @@
} else {
publicationService.setStatus(number, Publication.STATUS.READY);
request.setAttribute("isPublish", true);
- Publish.publish(publicationNode);
+ return new
ActionForward("/editors/workflow/publish.jsp?number="+number);
}
return mapping.findForward(SUCCESS);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs