Fix editing comments in Plone 5

This commit is contained in:
Philip Bauer 2015-09-13 18:31:38 +02:00
parent b7f81fc3fe
commit 0b0258867d

View File

@ -288,6 +288,9 @@ class Conversation(Traversable, Persistent, Explicit):
for k, v in self._comments.iteritems(): for k, v in self._comments.iteritems():
yield (k, v.__of__(self),) yield (k, v.__of__(self),)
def allowedContentTypes(self):
return []
@implementer(IConversation) @implementer(IConversation)
@adapter(IAnnotatable) @adapter(IAnnotatable)