[Erp5-report] r43198 nicolas.dumazet - in /erp5/trunk/products: ERP5/Tool/ ERP5Type/Tool/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 9 03:37:45 CET 2011
Author: nicolas.dumazet
Date: Wed Feb 9 03:37:42 2011
New Revision: 43198
URL: http://svn.erp5.org?rev=43198&view=rev
Log:
revert isIndexable hacks.
The only real issue was that ActivityTool was deriving from
BaseTool, this having isIndexable = True, and not being a
portal type (a.k.a no isResourceType kind of methods) and
raising errors when indexed.
Now, ActivityTool has a portal type, and such issues are gone.
Modified:
erp5/trunk/products/ERP5/Tool/SimulationTool.py
erp5/trunk/products/ERP5Type/Tool/BaseTool.py
Modified: erp5/trunk/products/ERP5/Tool/SimulationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/SimulationTool.py?rev=43198&r1=43197&r2=43198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/SimulationTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/SimulationTool.py [utf8] Wed Feb 9 03:37:42 2011
@@ -78,7 +78,6 @@ class SimulationTool(BaseTool):
meta_type = 'ERP5 Simulation Tool'
portal_type = 'Simulation Tool'
allowed_types = ( 'ERP5 Applied Rule', )
- isIndexable = True
# Declarative Security
security = ClassSecurityInfo()
Modified: erp5/trunk/products/ERP5Type/Tool/BaseTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Tool/BaseTool.py?rev=43198&r1=43197&r2=43198&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/BaseTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Tool/BaseTool.py [utf8] Wed Feb 9 03:37:42 2011
@@ -41,7 +41,6 @@ class BaseTool (UniqueObject, Folder):
id = 'portal_base_tool' # Override this
meta_type = 'ERP5 Base Tool' # Override this
allowed_types = () # Override this
- isIndexable = False
# Declarative Security
security = ClassSecurityInfo()
More information about the Erp5-report
mailing list