Do not depend on the meta_type metadata in the catalog

This commit is contained in:
Jens W. Klein 2019-02-04 16:04:54 +01:00
parent 5dcc6d1c65
commit afa48be877
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,9 @@ New features:
Bug fixes: Bug fixes:
- Do not depend on the ``meta_type`` metadata in the catalog.
[jensens]
- Changed $(window).load with $(document).ready in moderation.js - Changed $(window).load with $(document).ready in moderation.js
because in some version of FF and IE doesn't work. because in some version of FF and IE doesn't work.
[eikichi18] [eikichi18]

View File

@ -320,7 +320,6 @@ class CommentCatalogTest(unittest.TestCase):
def test_type(self): def test_type(self):
self.assertEqual(self.comment_brain.portal_type, 'Discussion Item') 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') self.assertEqual(self.comment_brain.Type, 'Comment')
def test_review_state(self): def test_review_state(self):