<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Hi!<BR>
<BR>
I am trying to implement the ERP5 Trade as per the instructions in the howto on the ERP5 LiveCD rc9 without the updated products from svn.<BR>
<BR>
When I reach the "<B><FONT SIZE="4">Change the state of order 000001</FONT></B>" step, no applied rule is created, nor any object in portal_simulation and the the log returns the following error:<BR>
<BR>
2006-05-12T13:57:34 INFO(0) WARNING ActivityTool Could not call method updateAppliedRule on object ('', 'erp5_trade', 'order_module', '5')<BR>
Traceback (most recent call last):<BR>
File "/usr/lib/zope/lib/python/Products/CMFActivity/ActivityTool.py", line 145, in __call__<BR>
result = getattr(obj, self.method_id)(*self.args, **self.kw)<BR>
File "/usr/lib/zope/lib/python/Products/ERP5/Document/Order.py", line 145, in updateAppliedRule<BR>
Delivery.updateAppliedRule(self, rule_id, force=force,**kw)<BR>
File "/usr/lib/zope/lib/python/Products/ERP5/Document/Delivery.py", line 550, in updateAppliedRule<BR>
self._createAppliedRule(rule_id,force=force,**kw)<BR>
File "/usr/lib/zope/lib/python/Products/ERP5/Document/Delivery.py", line 574, in _createAppliedRule<BR>
my_applied_rule = portal_rules[rule_id].\<BR>
File "/usr/lib/zope/lib/python/Products/ERP5/Document/Rule.py", line 92, in constructNewAppliedRule<BR>
context.newContent(id=id, portal_type='Applied Rule', specialise_value=self,**kw)<BR>
File "/usr/lib/zope/lib/python/Products/ERP5Type/Document/Folder.py", line 85, in newContent<BR>
is_indexable=is_indexable<BR>
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent<BR>
ob = info.constructInstance(container, id, *args, **kw)<BR>
File "/usr/lib/zope/lib/python/Products/ERP5Type/ERP5Type.py", line 182, in constructInstance<BR>
ob = FactoryTypeInformation.constructInstance(<BR>
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 340, in constructInstance<BR>
ob = self._constructInstance(container, id, *args, **kw)<BR>
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 571, in _constructInstance<BR>
newid = m(id, *args, **kw)<BR>
File "/usr/lib/zope/lib/python/Products/ERP5Type/Utils.py", line 322, in __call__<BR>
folder._setObject(id, o)<BR>
File "/usr/lib/zope/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 419, in _setObject<BR>
object.manage_fixupOwnershipAfterAdd()<BR>
File "/usr/lib/zope/lib/python/AccessControl/Owned.py", line 254, in manage_fixupOwnershipAfterAdd<BR>
self.changeOwnership(user)<BR>
File "/usr/lib/zope/lib/python/AccessControl/Owned.py", line 144, in changeOwnership<BR>
new=ownerInfo(user)<BR>
File "/usr/lib/zope/lib/python/AccessControl/Owned.py", line 284, in ownerInfo<BR>
db=user.aq_inner.aq_parent<BR>
AttributeError: aq_inner<BR>
<BR>
and upon 'google'ing I found a problem/solution pair here:<BR>
<A HREF="http://mail.zope.org/pipermail/zope/2002-February/109619.html">http://mail.zope.org/pipermail/zope/2002-February/109619.html</A><BR>
<BR>
I am not sure whether it is valid and/or how to apply it.<BR>
<BR>
Am I required to checkout the latest Products or do you feel that it is not required. I am a bit averse to checking out the latest due to some constraints on the test machine.<BR>
<BR>
Any advice in this regard shall be highly appreciated. <BR>
<BR>
-SB
</BODY>
</HTML>