fix bug 834504. Replies have a wrong path index.
svn path=/plone.app.discussion/trunk/; revision=27656
This commit is contained in:
parent
fee068dc09
commit
e3e6d5548e
@ -449,7 +449,7 @@ class CommentReplies(ConversationReplies):
|
||||
|
||||
def __init__(self, context):
|
||||
self.comment = context
|
||||
self.conversation = self.comment.__parent__
|
||||
self.conversation = aq_parent(self.comment)
|
||||
|
||||
if self.conversation is None or not hasattr(self.conversation, '_children'):
|
||||
raise TypeError("This adapter doesn't know what to do with the parent conversation")
|
||||
|
Loading…
Reference in New Issue
Block a user