Fetch context for the comment view with "context = aq_inner(self.context)". This fixes a failing Plone 3 test.

svn path=/plone.app.discussion/trunk/; revision=39679
This commit is contained in:
Timo Stollenwerk 2010-09-06 10:39:07 +00:00
parent 0358a03d5b
commit f918b7698b

View File

@ -4,6 +4,9 @@ Changelog
1.0b7 (unreleased)
------------------
* Fetch context for the comment view with "context = aq_inner(self.context)".
[timo]
* Raise an unauthorized error when authenticated users try to post a comment
on a content object that has discussion disabled. Thanks to vincentfrentin
for reporting this.