#61 — NewsletterTopic not working as expected

by (anonymous) — last modified Jun 17, 2009 03:00 PM
State Unconfirmed
Version: 3.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on Jun 17, 2009
Responsible
Target release:
the svn current version is using Topic instead of NewsletterTopic portal_type.

using Topic, the newsletter object is not catching the Topic portal_type, so not rendering it in output.

using NewsletterTopic, the system is in error when trying to create a NewsletterTopic object, with the following traceback:

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 18, in createObject
<FSControllerPythonScript at /eauslbo/createObject used for /eauslbo/test-1/asl-newsletter/n-3>
Line 18
Unauthorized: You are not allowed to access 'getActionObject' in this context


Steps to reproduce:
go to portal_types/Newsletter and select NewsletterTopic as one of the "Allowed content types".

go to your Newsletter object.

try to create a NewsletterTopic object.

No responses can be added.