Changelog entry and test to fix #12437 added.
This commit is contained in:
parent
5e81422cd1
commit
3b1d1b8967
@ -14,6 +14,11 @@ Changelog
|
|||||||
- Updated Spanish translation.
|
- Updated Spanish translation.
|
||||||
[hvelarde]
|
[hvelarde]
|
||||||
|
|
||||||
|
- Fix that catalog rebuild breaks the path attribute on comments. This fixes
|
||||||
|
http://dev.plone.org/ticket/12437.
|
||||||
|
[pjstevns]
|
||||||
|
|
||||||
|
|
||||||
2.1.1 (2011-11-24)
|
2.1.1 (2011-11-24)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -348,6 +348,9 @@ class CommentCatalogTest(unittest.TestCase):
|
|||||||
self.assertTrue(brains)
|
self.assertTrue(brains)
|
||||||
comment_brain = brains[0]
|
comment_brain = brains[0]
|
||||||
self.assertEqual(comment_brain.Title, u'Jim on Document 1')
|
self.assertEqual(comment_brain.Title, u'Jim on Document 1')
|
||||||
|
self.assertEqual(comment_brain.getPath(),
|
||||||
|
'/plone/doc1/++conversation++default/' +
|
||||||
|
str(self.comment_id))
|
||||||
|
|
||||||
def test_clear_and_rebuild_catalog_for_nested_comments(self):
|
def test_clear_and_rebuild_catalog_for_nested_comments(self):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user