[Erp5-report] r37034 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jul 12 10:13:49 CEST 2010


Author: ivan
Date: Mon Jul 12 10:13:45 2010
New Revision: 37034

URL: http://svn.erp5.org?rev=37034&view=rev
Log:
Do not clear cache after reindexing preferences as it's too confusing (cache is cleared for only current ZEO node and still no proper solution is implemented)

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml?rev=37034&r1=37033&r2=37034&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml [utf8] Mon Jul 12 10:13:45 2010
@@ -73,10 +73,6 @@ context.portal_preferences.activate(\n
                                          passive_commit=passive_commit,\n
                                          start_tree=start_tree,\n
                                          stop_tree=stop_tree,)\n
-# clear cache after reindexing preferences\n
-context.portal_caches.activate(tag=\'%s_clear_cache\' %tag,\n
-                               priority=additional_priority,\n
-                               after_tag=tag).clearAllCache()\n
 \n
 # Reindex person module\n
 print "#### Indexing person_module, stage 1 ####"\n
@@ -84,7 +80,7 @@ person_module=getattr(portal, \'person_m
 higher_priority = 1 + additional_priority\n
 if person_module is not None :\n
   tag = \'person_stage_1\'\n
-  folder_after_tag = (\'portal_preferences\', \'portal_preferences_clear_cache\',)\n
+  folder_after_tag = (\'portal_preferences\',)\n
   person_module.activate(tag=tag,\n
                          priority=higher_priority,\n
                          after_tag=folder_after_tag).Folder_reindexAll(\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=37034&r1=37033&r2=37034&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Mon Jul 12 10:13:45 2010
@@ -1 +1 @@
-1624
\ No newline at end of file
+1625
\ No newline at end of file




More information about the Erp5-report mailing list