[Erp5-report] r31567 yusei - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplate...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jan 5 04:35:01 CET 2010
Author: yusei
Date: Tue Jan 5 04:34:59 2010
New Revision: 31567
URL: http://svn.erp5.org?rev=31567&view=rev
Log:
2010-01-05 yusei
* Update ERP5Site_reindexAll and index some tools correctly.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
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=31567&r1=31566&r2=31567&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] Tue Jan 5 04:34:59 2010
@@ -165,8 +165,11 @@
portal.portal_domains, portal.portal_rules,\n
portal.portal_deliveries, portal.portal_orders,\n
portal.portal_caches, portal.portal_types]\n
-if hasattr(portal, \'portal_gadgets\'):\n
- tool_list.append(portal.portal_gadgets)\n
+possible_tool_list = [\'portal_gadgets\', \'portal_contribution_registry\',\n
+ \'portal_roundings\',]\n
+for tool_id in possible_tool_list:\n
+ if getattr(portal, tool_id, None) is not None:\n
+ tool_list.append(getattr(portal, tool_id))\n
\n
for folder in tool_list:\n
folder.activate(\n
@@ -304,7 +307,8 @@
<string>_getiter_</string>
<string>folder</string>
<string>tool_list</string>
- <string>hasattr</string>
+ <string>possible_tool_list</string>
+ <string>tool_id</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log?rev=31567&r1=31566&r2=31567&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] Tue Jan 5 04:34:59 2010
@@ -1,6 +1,9 @@
+2010-01-05 yusei
+* Update ERP5Site_reindexAll and index some tools correctly.
+
2009-12-04 jm
* Allow use of ParallelListFields in ListBox cells. Fields using
- Base_hashCategoryList requires ERP5Form to be up-to-date.
+Base_hashCategoryList requires ERP5Form to be up-to-date.
2009-11-18 yo
* Move localization-related preferences to General from UI.
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=31567&r1=31566&r2=31567&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Tue Jan 5 04:34:59 2010
@@ -1,1 +1,1 @@
-1406
+1408
More information about the Erp5-report
mailing list