[Zope] ZDiscussions and Zope 2.2

Cary O'Brien cobrien@Radix.Net
Wed, 31 May 2000 08:50:35 -0400 (EDT)


> Hi Cary,
> 
> I'd be really happy if you could try out Squishdot 0.4.0 for what you're
> doing. It's kindof ZDiscussions on steroids and should work with 2.2,
> although I haven't had a chance to test it yet...
> 

It seems broken.

Using Zope-2.2.0a1 and Squishdot-0-4-0, this is what happens.

Install squishdot, restart - ok.
Create a squishdot topic from the management interface - ok.
Access the empty topic (i.e. directly, not through management interface) - ok.
Click "Post Article", get article entry form - ok.
Add dummy article, click Add, get "Your article has been posted" confirm. page - ok.
Click OK from confirm page, get Authorization Failed - Retry.
Give up, traceback below.

The new security stuff in 2.2 seems to have broken a lot of stuff.  Seems as if I
may have to rollback some internal sites back to 2.1.6.

-- cary

--------------------------------- traceback -------------------------------------------------

Traceback (innermost last):
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 224, in publish_module
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 189, in publish
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 175, in publish
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
      (Object: index_html)
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
      (Object: index_html)
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/Products/Squishdot/Squishdot.py, line 1215, in index_html
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/OFS/DTMLMethod.py, line 160, in __call__
      (Object: posting_html)
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_String.py, line 500, in __call__
      (Object: posting_html)
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_Util.py, line 327, in eval
      (Object: meta_type == 'Comment')
      (Info: meta_type)
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/OFS/DTMLMethod.py, line 180, in validate
      (Object: posting_html)
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/AccessControl/SecurityManager.py, line 139, in validate
    File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/AccessControl/ZopeSecurityPolicy.py, line 160, in validate
  Unauthorized: meta_type