Archetype Permission Errors with CMFBoard 2.2

Yuan HOng hongyuan1306 at gmail.com
Sat Aug 13 11:01:21 EDT 2005


Hi,

I am trying to integrate the latest CMFBoard 2.2 with my Plone site
(2.0.5 with Archetypes 1.3.3-final). I'd like to have my users to post
anonymously with CMFBoard, so I added a forumNB of type 'open'.

However, when an anonymous user tries to added a new Topic to the
board, a bunch of error messages were seen in the event.log as shown
below.

As a result, I find the topic of a new forum topic can not be
displayed in several locations.

Can someone explain what the various errors mean and how shall I set
up my permission so CMFBoard will work correctly for anonymous users?

By the way, is CMFBoard 2.2 known to work stably with Archetype 1.3.3?
So many warning/errors for just adding a simple topic make me really
worry.

Below is the event.log transcript:

------
2005-08-08T03:53:07 INFO(0) Plone Debug
/opt/zope/client0/Products/CMFBoard/skins/cmfboard/forum_add_topic_form.cpt:
No default action specified for status success, content type ANY. 
Users of IE can submit pages using the return key, resulting in no
button in the REQUEST.  Please specify a default action for this case.
------
2005-08-08T03:53:36 ERROR(200) Archetypes caught Unauthorized on
discussiontool.overrideDiscussionFor(forum/forum/public/0001)
Traceback (most recent call last):
  File "/opt/zope/client0/Products/Archetypes/ExtensibleMetadata.py",
line 250, in allowDiscussion
    dtool.overrideDiscussionFor(self, allowDiscussion)
  File "/opt/zope/client0/Products/CMFDefault/DiscussionTool.py", line
84, in overrideDiscussionFor
    raise "Unauthorized"
Unauthorized
------
2005-08-08T03:53:36 ERROR(200) CMFBoard None
Traceback (most recent call last):
  File "/opt/zope/client0/Products/CMFBoard/utils.py", line 149, in
forum_stateChanged
    sci.object.notifyStateChanged(sci)
TypeError: notifyStateChanged() takes exactly 1 argument (2 given)
------
2005-08-08T03:53:36 INFO(0) Archetypes
Products/Archetypes/Field.py[492]:writeable
User None tried to update ForumMessage:title but doesn't have enough
permissions.

------
2005-08-08T03:53:36 INFO(0) Archetypes User None tried to update
ForumMessage:authorname but doesn't have enough permissions.

------
2005-08-08T03:53:36 INFO(0) Archetypes User None tried to update
ForumMessage:message_icon but doesn't have enough permissions.

------
2005-08-08T03:53:36 INFO(0) Archetypes User None tried to update
ForumMessage:parsing_flag but doesn't have enough permissions.

------
2005-08-08T03:53:36 INFO(0) Archetypes User None tried to update
ForumMessage:text but doesn't have enough permissions.

------
2005-08-08T03:53:36 INFO(0) Archetypes User None tried to update
ForumMessage:signature but doesn't have enough permissions.

------
2005-08-08T03:53:36 INFO(0) Plone Debug
/opt/zope/client0/Products/CMFBoard/skins/cmfboard/forum_topic.cpt: No
default action specified for status success, content type ANY.  Users
of IE can submit pages using the return key, resulting in no button in
the REQUEST.  Please specify a default action for this case.
------
2005-08-08T03:53:36 INFO(0) Plone Debug
/opt/zope/client0/Products/CMFBoard/skins/cmfboard/forum_topic.cpt: No
default validators specified for content type ANY.  Users of IE can
submit pages using the return key, resulting in no button in the
REQUEST.  Please specify default validators for this case.
------
2005-08-08T03:53:36 INFO(0) Plone Debug
/opt/zope/client0/Products/CMFBoard/skins/cmfboard/forum_quickreply_widget.cpt:
No default action specified for status success, content type ANY. 
Users of IE can submit pages using the return key, resulting in no
button in the REQUEST.  Please specify a default action for this case.



-- 
Hong Yuan

大管家网上建材超市
装修装潢建材一站式购物
http://www.homemaster.cn


More information about the Python-list mailing list