[Erp5-report] r31901 nicolas - in /erp5/trunk/bt5/erp5_web: ToolTemplateItem/ bt/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 22 13:33:34 CET 2010


Author: nicolas
Date: Fri Jan 22 13:33:34 2010
New Revision: 31901

URL: http://svn.erp5.org?rev=31901&view=rev
Log:
2010-01-22 nicolas
* Update configuration of Caching Policy Manager to fill Last-Modified Header with modification_date.
* Web Site and Web Section are not using Caching Policy Manager
* Use getPortalWebDocumentTypeLits instead of Hardcoded portal_type
reviewed by romain

Modified:
    erp5/trunk/bt5/erp5_web/ToolTemplateItem/caching_policy_manager.xml
    erp5/trunk/bt5/erp5_web/bt/change_log
    erp5/trunk/bt5/erp5_web/bt/revision

Modified: erp5/trunk/bt5/erp5_web/ToolTemplateItem/caching_policy_manager.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ToolTemplateItem/caching_policy_manager.xml?rev=31901&r1=31900&r2=31901&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ToolTemplateItem/caching_policy_manager.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/ToolTemplateItem/caching_policy_manager.xml [utf8] Fri Jan 22 13:33:34 2010
@@ -241,7 +241,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>object/modified</string> </value>
+            <value> <string>object/getModificationDate</string> </value>
         </item>
       </dictionary>
     </pickle>
@@ -289,7 +289,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>object/modified</string> </value>
+            <value> <string>object/getModificationDate</string> </value>
         </item>
       </dictionary>
     </pickle>
@@ -337,7 +337,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>object/modified</string> </value>
+            <value> <string>object/getModificationDate</string> </value>
         </item>
       </dictionary>
     </pickle>
@@ -353,7 +353,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python: member is None and object.getPortalType() in ("Web Page", "Web Section", "Web Site")</string> </value>
+            <value> <string>python: member is None and object.getPortalType() in object.getPortalWebDocumentTypeList()</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_web/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/change_log?rev=31901&r1=31900&r2=31901&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/change_log [utf8] Fri Jan 22 13:33:34 2010
@@ -1,3 +1,8 @@
+2010-01-22 nicolas
+* Update configuration of Caching Policy Manager to fill Last-Modified Header with modification_date.
+* Web Site and Web Section are not using Caching Policy Manager
+* Use getPortalWebDocumentTypeLits instead of Hardcoded portal_type
+
 2009-10-16 rafael
 * Update for the changes of new portal types of portal types.
 

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=31901&r1=31900&r2=31901&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision [utf8] Fri Jan 22 13:33:34 2010
@@ -1,1 +1,1 @@
-896
+900




More information about the Erp5-report mailing list