From afa48be8773e34687a7d3a6b294865a5e8cdde32 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Mon, 4 Feb 2019 16:04:54 +0100 Subject: [PATCH] Do not depend on the meta_type metadata in the catalog --- CHANGES.rst | 3 +++ plone/app/discussion/tests/test_catalog.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 3faf481..99d6a62 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,9 @@ New features: Bug fixes: +- Do not depend on the ``meta_type`` metadata in the catalog. + [jensens] + - Changed $(window).load with $(document).ready in moderation.js because in some version of FF and IE doesn't work. [eikichi18] diff --git a/plone/app/discussion/tests/test_catalog.py b/plone/app/discussion/tests/test_catalog.py index 8856866..98abd9f 100644 --- a/plone/app/discussion/tests/test_catalog.py +++ b/plone/app/discussion/tests/test_catalog.py @@ -320,7 +320,6 @@ class CommentCatalogTest(unittest.TestCase): def test_type(self): self.assertEqual(self.comment_brain.portal_type, 'Discussion Item') - self.assertEqual(self.comment_brain.meta_type, 'Discussion Item') self.assertEqual(self.comment_brain.Type, 'Comment') def test_review_state(self):