[Erp5-report] r16204 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/por...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 10 10:35:57 CEST 2007


Author: yusei
Date: Mon Sep 10 10:35:57 2007
New Revision: 16204

URL: http://svn.erp5.org?rev=16204&view=rev
Log:
Fixed a error that occurs when object is None.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml?rev=16204&r1=16203&r2=16204&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_properties/module_view.xml Mon Sep 10 10:35:57 2007
@@ -102,7 +102,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:object.getId().endswith(\'_module\') and getattr(object, \'getTypeInfo\', None) and object.getTypeInfo() and object.getTypeInfo().getId().endswith(\' Module\')</string> </value>
+            <value> <string>python:object and object.getId().endswith(\'_module\') and getattr(object, \'getTypeInfo\', None) and object.getTypeInfo() and object.getTypeInfo().getId().endswith(\' Module\')</string> </value>
         </item>
       </dictionary>
     </pickle>




More information about the Erp5-report mailing list