#613 issues not reindexed on permission/staff changes

open
5
2007-03-16
2007-03-16
auc
No

reindextion does not occur after permission changes, leading to inconsistent results when browsing the collector

the follow fixes it :

@@ -14,7 +14,7 @@ from ComputedAttribute import ComputedAt
from ComputedAttribute import ComputedAttribute
from AccessControl import ClassSecurityInfo
from Acquisition import aq_base
-from Products.CMFCore.CatalogTool import CatalogTool
+from Products.CMFPlone.CatalogTool import CatalogTool
from Products.ZCatalog.ZCatalog import ZCatalog
from BTrees.OOBTree import OOBTree
from ZODB.POSException import ConflictError
@@ -380,6 +380,8 @@ class PloneCollectorNG(BaseBTreeFolder,
self._adjust_staff_roles()
self._adjust_participation_mode()

+ self.reindex_issues()
util.redirect(RESPONSE, 'pcng_staff',
self.Translate('changes_saved', 'Your changes have been saved'))

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks