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