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.

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to