From 1946991928c7d5e3d9a488e35b0c47812a5c67b9 Mon Sep 17 00:00:00 2001 From: Paul J Stevens Date: Tue, 4 Jun 2013 09:18:40 -0400 Subject: [PATCH] fix regression introduced by 702f7e1f1d7c2d50621f2f326c185ddb2034d174 --- plone/app/discussion/comment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plone/app/discussion/comment.py b/plone/app/discussion/comment.py index 9d9b1e1..df81bf7 100644 --- a/plone/app/discussion/comment.py +++ b/plone/app/discussion/comment.py @@ -93,7 +93,7 @@ class Comment(CatalogAware, WorkflowAware, DynamicType, Traversable, title = u"" - mime_type = "text/plain" + mime_type = None text = u"" creator = None @@ -113,6 +113,7 @@ class Comment(CatalogAware, WorkflowAware, DynamicType, Traversable, def __init__(self): self.creation_date = self.modification_date = datetime.utcnow() + self.mime_type = 'text/plain' @property def __name__(self):