SVN: CMF/trunk/C - CMFUid.UniqueIdHandlerTool: Touching the internal UID value on a
Jens Vagelpohl <[email protected]> Sun, 4 Mar 2007 16:03:51 -0500 (EST)
| Newsgroups | gmane.comp.web.zope.cmf.cvs |
|---|---|
| Message-ID | <20070304210351.9AEF0203AD1__49955.6906790987$1173042241$gmane$org@mail.zope.org> |
Log message for revision 72975:
- CMFUid.UniqueIdHandlerTool: Touching the internal UID value on a
content item will not cause reindexing all indices anymore, only the
specific UID index will be touched.
(http://www.zope.org/Collectors/CMF/469)
Changed:
U CMF/trunk/CHANGES.txt
U CMF/trunk/CMFUid/UniqueIdHandlerTool.py
-=-
Modified: CMF/trunk/CHANGES.txt
===================================================================
--- CMF/trunk/CHANGES.txt 2007-03-04 20:50:42 UTC (rev 72974)
+++ CMF/trunk/CHANGES.txt 2007-03-04 21:03:50 UTC (rev 72975)
@@ -22,6 +22,11 @@
Bug Fixes
+ - CMFUid.UniqueIdHandlerTool: Touching the internal UID value on a
+ content item will not cause reindexing all indices anymore, only the
+ specific UID index will be touched.
+ (http://www.zope.org/Collectors/CMF/469)
+
- CMFCore.MembershipTool: Fixed inconsistent behavior where member lookup
would take all user folders up to the Zope root into account whereas
member area creation would not.
Modified: CMF/trunk/CMFUid/UniqueIdHandlerTool.py
===================================================================
--- CMF/trunk/CMFUid/UniqueIdHandlerTool.py 2007-03-04 20:50:42 UTC (rev 72974)
+++ CMF/trunk/CMFUid/UniqueIdHandlerTool.py 2007-03-04 21:03:50 UTC (rev 72975)
@@ -86,7 +86,7 @@
catalog.addColumn(UID_ATTRIBUTE_NAME)
# reindex
- catalog.reindexObject(obj)
+ catalog.reindexObject(obj, idxs=[UID_ATTRIBUTE_NAME])
def _setUid(self, obj, uid):
"""Attaches a unique id to the object and does reindexing.