[opencms-dev] Newsletter Module Issue/Bug?
Pedro Lopes
pedro.lopes at opensoft.pt
Tue Dec 9 17:37:01 CET 2008
Hi there,
I'm starting using newsletter module.
I've upgraded CMS to 7.0.5 (from 7.0.2) and installed newsletter module
1.0.1 successfully.
I can create templates and newsletter, I've also managed to send some
newsletter to my email.
Now, I've got 2 questions:
1 - In Administration View
> Newsletter Management
> Newsletter Tools
> Mailing lists actions: Teste Newsletter Unit 2
(/nl_TesteNewsletterUnit2/)
Mailing lists actions: Teste Newsletter Unit 2 (/nl_TesteNewsletterUnit2/)
When I choose "Send the newsletter" I'm getting this stacktrace:
2008-11-19 18:05:36,871 ERROR Servlet.service() for servlet jsp threw
exception
org.opencms.main.CmsRuntimeException: The list "Mailing lists" does not
support the request action "ase".
at
org.opencms.workplace.list.A_CmsListDialog.throwListUnsupportedActionException(A_CmsListDialog.java:1101)
at
org.opencms.workplace.tools.accounts.A_CmsGroupsList.executeListSingleActions(A_CmsGroupsList.java:269)
at
com.alkacon.opencms.newsletter.admin.CmsMailinglistsList.executeListSingleActions(CmsMailinglistsList.java:130)
at
org.opencms.workplace.list.A_CmsListDialog.actionDialog(A_CmsListDialog.java:339)
at
org.opencms.workplace.list.A_CmsListDialog.displayDialog(A_CmsListDialog.java:411)
at
org.opencms.workplace.list.A_CmsListDialog.displayDialog(A_CmsListDialog.java:396)
at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.admin.newsletter.mailinglists_005flist_jsp._jspService(mailinglists_005flist_jsp.java:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1168)
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
But in OpenCmsWorkplace console all seems fine :S, I can proceed and
then send the newsletter, the feedback to the user in OpenCmsWorkplace
console is the line becoming red and with date sent (is this the only
feedback)? And how can I avoid the stack trace? [when looking to OpenCms
source code, it looks like "ase" is a variable that might not exist in
other versions, is there another module to update?]
2 - I want to "play" with data from users subscribed (because my
application already has a user table, and I want to synchronize them),
is there any information how can I get and set users subscribed
information? Is there any API to do that, I've seen that users
information are kept in DB tables cms_groups, cms_groupusers, cms_users,
are there more tables affected? How are the Ids created? Is there any
information about the API from newsletter module?
Thanks in advance.
PL
More information about the opencms-dev
mailing list