Re: Users - storeOrder.partyId missing

Posted by Sterling Okura on
URL: http://ofbiz.116.s1.nabble.com/Users-storeOrder-partyId-missing-tp139273p139279.html

In the ecommerce webapp controller.xml I added the following entry to both the <preprocessor> and the <after-login> sections:

 

<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="keepCartUpdated"/>

 

This entry wasn’t in the old 3.0 version of the controller, but apparently needed for the latest version.

 


From: Si Chen [mailto:[hidden email]]
Sent: Wednesday, May 17, 2006 11:35 AM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - storeOrder.partyId missing

 

Great.  Which pre-processor, by the way?  Might be nice to document it.

Si

Sterling Okura wrote:

Hi Si, thanks for checking sir.  I was unable to find a pattern.  Most orders went through, but a few would lose the partyId.  All are logged in, some were new customers some existing.  Some had successful orders before, some where first time.

 

I did finally find the fix.  When switching the screen-widgets out with the old cart ftl’s, I accidentally lost the preprocesser and after-login entries for updating the cart.  I added them back and no more of those mysterious occasional errors.

 

Thank you sir!

sterling

 


From: Si Chen [mailto:[hidden email]]
Sent: Tuesday, May 16, 2006 6:23 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - storeOrder.partyId missing

 

Do you have any logs for when this happens?  Any pattern at all to reproduce it?  Are the users logged in, anonymous?  Have they already placed one order?

Sterling Okura wrote:

I have a baffling error. After upgrade to recent SVN some orders are going through fine, but a few are having an error calling the StoreOrder service (within CheckOutHelper) because it’s grabbing a null partyId from cart.  I can’t see any pattern to it.  Most orders go through ok, but some don’t.  I’ve checked the visit logs and there seems to be no pattern in the checkout process where the cart could be losing the partyId.

 

Has anyone encountered similar problems? Any ideas?

 

Thank you!

sterling

 

 

 

 
 
 



 
 
 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
 



 
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users