[CMF-checkins] CVS: CMF - CHANGES.txt:1.106 INSTALL.txt:1.8 TODO.txt:1.30

Florent Guillaume fg@nuxeo.com
Fri, 5 Jul 2002 15:45:34 -0400


Update of /cvs-repository/CMF
In directory cvs.zope.org:/tmp/cvs-serv2727

Modified Files:
	CHANGES.txt INSTALL.txt TODO.txt 
Log Message:
Fixed the Types Tool so that TypeInformation's Title is decorrelated
from its Id (the old TypeInformation.Type() should not be used anymore).

The Id is what gets put in the "portal_type" attribute of a content
object, which one gets at using somecontent.getPortalTypeName(). The
Title is returned by somecontent.Type().

"portal_type" is now indexed, and in most cases should be used when
doing catalog queries instead of "Type". Note that when upgrading from
older versions this index will have to be added by hand (see
INSTALL.txt).

Fixed PortalFolder's filtering so that it correctly restricts itself to
the portal types allowed by the TypesTool (Tracker #483).



=== CMF/CHANGES.txt 1.105 => 1.106 ===
   Bugs Fixed
 
+    - Fixed PortalFolder's filtering so that it correctly restricts
+      itself to the portal types allowed by the TypesTool (Tracker #483).
+
+    - Fixed the TypesTool so that TypeInformation's Title is
+      decorrelated from its Id (the old TypeInformation.Type() should
+      not be used anymore). The Id is what gets put in the "portal_type"
+      attribute of a content object, which one gets at using
+      somecontent.getPortalTypeName(). The Title is returned by
+      somecontent.Type(). "portal_type" is now indexed, and in most
+      cases should be used when doing catalog queries instead of "Type".
+
     - Provided all default skins (content_hide_form, content_show_form)
       for the DCWorkflow default workflow [rev 2]. Note that, when using
       this workflow, the descriptions in the retract and reject forms


=== CMF/INSTALL.txt 1.7 => 1.8 ===
 Upgrading from versions earlier than CMF 1.3beta2
 
-  Add New Index: "path"
+  Add New Metadata: "portal_type"
 
-      1. From the ZMI of your CMFSite, go to the 'portal_catalog' tool,
-         and select the "Indexes" tab. Add a "PathIndex" using the Add
-         list, and give it an Id of "path".
+      From the ZMI of your CMFSite, go to the 'portal_catalog' tool, and
+      select the "Metadata" tab. Add a Metadata for "portal_type".
+
+  Add New Indexes: "path", "portal_type"
+
+      In the Indexes tab of the 'portal_catalog' tool, add a "PathIndex"
+      using the Add list, and give it an Id of "path". Then add a
+      "FieldIndex" and give it an Id of "portal_type".
+
+  Reindex the New Indexes
+
+      In the Indexes tab of the 'portal_catalog' tool, select the two
+      new indexes ("path" and "portal_type") and click "Reindex".
 
 Upgrading from CMF 1.0
 


=== CMF/TODO.txt 1.29 => 1.30 ===
                            member folder
 
-      - ( ) Folder fixes (Florent Guillaume)
+      - (x) Folder fixes (Florent Guillaume)
 
-        ( ) Tracker #483:  listFolderContents doesn't filter properly
+        (x) Tracker #483:  listFolderContents doesn't filter properly
 
         (x) Tracker #503:  index_html/folder_view don't skip unauth
                            folders