It is a known bug and will be squashed in the next release (pretty major thanks to Mr. Harris). Stay tuned. J- At 2:58 PM +0100 8/26/2000, J M Cerqueira Esteves wrote:
Hi
On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote:
hi a clean install won't start properly with ZDiscussion product install. the same thing also with ZDiscussion based classes created.
There is a missing comma in the definition of __ac_permissions__ in class ZDItem (file ZDiscussions.py):
__ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)) )
Just add a comma before the last parenthesis:
__ac_permissions__ = ( ('Manage properties', ('manage_addProperty', 'manage_editProperties', 'manage_delProperties', 'manage_changeProperties',)), )
In this way, __ac_permissions__ becomes a tuple of permissions (one, in this case), as it should be.
-- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )