[CMF-checkins] SVN: CMF_Extras/trunk/CMFCollector/ Ripped out the
	misfeature of having the ISSUE_TRANSCRIPT subobject catalog
	itself separately from the issue.
    Tres Seaver 
    tseaver at palladion.com
       
    Tue May 22 15:08:49 EDT 2007
    
    
  
Log message for revision 75899:
  Ripped out the misfeature of having the ISSUE_TRANSCRIPT subobject catalog itself separately from the issue.
  
Changed:
  U   CMF_Extras/trunk/CMFCollector/CHANGES.txt
  U   CMF_Extras/trunk/CMFCollector/WebTextDocument.py
-=-
Modified: CMF_Extras/trunk/CMFCollector/CHANGES.txt
===================================================================
--- CMF_Extras/trunk/CMFCollector/CHANGES.txt	2007-05-22 18:47:48 UTC (rev 75898)
+++ CMF_Extras/trunk/CMFCollector/CHANGES.txt	2007-05-22 19:08:49 UTC (rev 75899)
@@ -15,6 +15,9 @@
 
     Bug fixes
 
+      - Ripped out the misfeature of having the ISSUE_TRANSCRIPT subobject
+        catalog itself separately from the issue.
+
       - Changed issue to track creators / modified date appropriately.
 
       - Made file upload work for sites using ATCTFile.
Modified: CMF_Extras/trunk/CMFCollector/WebTextDocument.py
===================================================================
--- CMF_Extras/trunk/CMFCollector/WebTextDocument.py	2007-05-22 18:47:48 UTC (rev 75898)
+++ CMF_Extras/trunk/CMFCollector/WebTextDocument.py	2007-05-22 19:08:49 UTC (rev 75899)
@@ -82,6 +82,18 @@
 
     security = ClassSecurityInfo()
 
+    security.declareProtected(ModifyPortalContent, 'indexObject')
+    def indexObject(self):
+        pass # transcripts don't belong in the catalog!
+
+    security.declareProtected(ModifyPortalContent, 'unindexObject')
+    def unindexObject(self):
+        pass # transcripts don't belong in the catalog!
+
+    security.declareProtected(ModifyPortalContent, 'reindexObject')
+    def reindexObject(self, idxs=[]):
+        pass # transcripts don't belong in the catalog!
+
     def __init__(self, id, title='', description='', text_format='',
                  text=''):
         Document.__init__(self, id, title=title, description=description,
    
    
More information about the CMF-checkins
mailing list