Changelog entry and test to fix #12437 added.

This commit is contained in:
Timo Stollenwerk 2011-12-21 19:37:40 +01:00
parent 5e81422cd1
commit 3b1d1b8967
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,11 @@ Changelog
- Updated Spanish translation.
[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)
------------------

View File

@ -348,6 +348,9 @@ class CommentCatalogTest(unittest.TestCase):
self.assertTrue(brains)
comment_brain = brains[0]
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):