Fix some aq wrapper errors introduced by my previous fix but not
exposed since the functional tests weren't running. svn path=/plone.app.discussion/trunk/; revision=48836
This commit is contained in:
parent
d8f864596e
commit
d3025fb3ec
@ -244,7 +244,7 @@ class Conversation(Traversable, Persistent, Explicit):
|
||||
# Add the annotation if not already done
|
||||
annotions = IAnnotations(self.__parent__)
|
||||
if not ANNOTATION_KEY in annotions:
|
||||
annotions[ANNOTATION_KEY] = self
|
||||
annotions[ANNOTATION_KEY] = aq_base(self)
|
||||
|
||||
# Notify that the object is added. The object must here be
|
||||
# acquisition wrapped or the indexing will fail.
|
||||
|
Loading…
Reference in New Issue
Block a user