#24 — Issue with email notification

by (anonymous) — last modified Jul 09, 2009 03:39 PM
State Rejected
Version: 2.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on Jun 14, 2008
Responsible Damien Baty
Target release:
I get this error when I try to create a page and publish. I have setup CMFNotification to send email when a page is created or modified.

I am using Plone 3.0.4 and CMFNotification 2.0 RC

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 140, in __call__
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 196, in _exec
  Module None, line 42, in content_status_modify
   - <FSControllerPythonScript at /sdcportal/content_status_modify used for /sdcportal/test-page>
   - Line 42
  Module Products.CMFCore.WorkflowTool, line 245, in doActionFor
  Module Products.CMFCore.WorkflowTool, line 555, in _invokeWithNotification
  Module Products.DCWorkflow.DCWorkflow, line 291, in doActionFor
  Module Products.DCWorkflow.DCWorkflow, line 430, in _changeStateOf
  Module Products.DCWorkflow.DCWorkflow, line 537, in _executeTransition
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 327, in _exec
TypeError: testEmail() takes no arguments (1 given)
Added by Damien Baty on Jun 16, 2008 07:01 AM
Issue state: unconfirmedrejected
Responsible manager: (UNASSIGNED)dbaty
I do not think this error has anything to do with CMFNotification.

The traceback tells you that there is an error in a "Python script". I am not sure, but it could be that a post-transition workflow script of yours is causing this error. You may want to check that.

No responses can be added.