Hello,<br><br>I have been experimenting with ERP5 since the release of rc11 live CD. <br><br>I was exploring portal_rules when I ran into some trouble with the default_order_rule/*_divergence_testers view. The same was the case with default_order_rule which I have managed to workaround with changing the portal type of rule tool to 'ERP5 Folder' .
<br><br>I am currently using revision14268.<br><br><br>Here is the detailed error log when I attempt to access portal_rules/default_order_rule/1 <br><br><br>Time 2007/05/08 14:08:10.551 GMT+0530 <br> User Name (User Id) itcon (itcon)
<br> Request URL <a href="http://localhost:9080/erp5dev/portal_rules/default_order_rule/1/view">http://localhost:9080/erp5dev/portal_rules/default_order_rule/1/view</a> <br> Exception Type AttributeError <br>
Exception Value 'NoneType' object has no attribute 'isConstructionAllowed'<br><br>Traceback (innermost last):<br> Module ZPublisher.Publish, line 101, in publish<br> Module ZPublisher.mapply, line 88, in mapply
<br> Module ZPublisher.Publish, line 39, in call_object<br> Module Products.CMFCore.PortalContent, line 117, in view<br> Module Products.CMFCore.PortalContent, line 109, in __call__<br> Module Products.ERP5Form.Form, line 364, in __call__
<br> Module Products.ERP5Form.Form, line 402, in __call__<br> Module Products.PageTemplates.PageTemplate, line 96, in pt_render<br> - <ZopePageTemplate at /erp5dev/form_view used for /erp5dev/PropertyDivergenceTester_view>
<br> Module TAL.TALInterpreter, line 190, in __call__<br><br>- snip-<br><br> Module TAL.TALInterpreter, line 460, in do_setLocal_tal<br> Module Products.PageTemplates.TALES, line 221, in evaluate<br> - URL: /erp5dev/context_box_render
<br> - Line 71, Column 6<br> - Expression: standard:'here/getVisibleAllowedContentTypeList | python:[]'<br> - Names:<br> {'container': <OrderRule at /erp5dev/portal_rules/default_order_rule>,
<br> 'context': <ERP5Form at /erp5dev/PropertyDivergenceTester_view used for /erp5dev/portal_rules/default_order_rule/1>,<br> 'default': <Products.PageTemplates.TALES.Default instance at 0xb6a7e18c>,
<br> 'form': <ERP5Form at /erp5dev/PropertyDivergenceTester_view used for /erp5dev/portal_rules/default_order_rule/1>,<br> 'here': <PropertyDivergenceTester at /erp5dev/portal_rules/default_order_rule/1>,
<br> 'loop': <SafeMapping instance at b00032a0>,<br> 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6a787ac>,<br> 'nothing': None,
<br> 'options': {'args': ()},<br> 'repeat': <SafeMapping instance at b00032a0>,<br> 'request': <HTTPRequest, URL=<a href="http://zklphoenix.dyndns.org:9080/erp5dev/portal_rules/default_order_rule/1/view">
http://zklphoenix.dyndns.org:9080/erp5dev/portal_rules/default_order_rule/1/view</a>>,<br> 'root': <Application instance at b3839cb0>,<br> 'template': <ERP5Form at /erp5dev/PropertyDivergenceTester_view used for /erp5dev/portal_rules/default_order_rule/1>}
<br> Module Products.PageTemplates.Expressions, line 174, in __call__<br> Module Products.PageTemplates.Expressions, line 169, in _eval<br> Module Products.PageTemplates.Expressions, line 74, in render<br> Module Products.ERP5Type.Core.Folder
, line 715, in getVisibleAllowedContentTypeList<br> Module Products.ERP5Type.Cache, line 192, in __call__<br> Module Products.ERP5Type.Cache, line 109, in __call__<br> Module Products.ERP5Type.Core.Folder, line 704, in _getVisibleAllowedContentTypeList
<br> Module Products.ERP5Type.patches.CMFBTreeFolder, line 54, in CMFBTreeFolder_allowedContentTypes<br> Module Products.ERP5Type.patches.CMFBTreeFolder, line 52, in <lambda><br>AttributeError: 'NoneType' object has no attribute 'isConstructionAllowed'
<br><br>Is it something from ERP5Type or CMFCore that needs to be imported into the Tester documents such as Folder? Just guessing.<br><br>Thanks in advance for any help or guidance. <br><br>Regards,<br>Shresth<br>