Product not found for Product ID !

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Product not found for Product ID !

bhargav.tri
Team,
I am not sure if this is a defect which has already been logged in Jira or
my understanding is wrong.

I tried the following scenario in demo-trunk for ecmommerce (
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product 
)

Steps to reproduce my scenario:
Add an item to cart without logging in.
Click on login and login into your website.

Expected Result:
The product detail page or home page should be seen.

Actual Result:
I am taken to the
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product 
page and following is seen;
Product not found for Product ID !

I looked into the logs for my website and I think it is because we are
linking a product with users shipping list.
2012-06-07 15:27:27,700 (http-0.0.0.0-8443-5) [
ServiceEcaRule.java:134:INFO ] For Service ECA [createShoppingListItem] on
[in-validate] got false for condition:
[shoppingListId][is-empty][true][String]

This is just my speculation.

Bhargav
Walnut Creek, CA
Reply | Threaded
Open this post in threaded view
|

Re: Product not found for Product ID !

Jacques Le Roux
Administrator
Following your steos, I did not reproduce adding WG-5569 - Tiny Chrome Widget
I got to https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/showcart w/out issues

Could you explain more
>I looked into the logs for my website and I think it is because we are
>linking a product with users shipping list.

Jacques

----- Original Message -----
From: <[hidden email]>
To: <[hidden email]>; <[hidden email]>
Sent: Friday, June 08, 2012 1:15 AM
Subject: Product not found for Product ID !


> Team,
> I am not sure if this is a defect which has already been logged in Jira or
> my understanding is wrong.
>
> I tried the following scenario in demo-trunk for ecmommerce (
> https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product 
> )
>
> Steps to reproduce my scenario:
> Add an item to cart without logging in.
> Click on login and login into your website.
>
> Expected Result:
> The product detail page or home page should be seen.
>
> Actual Result:
> I am taken to the
> https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product 
> page and following is seen;
> Product not found for Product ID !
>
> I looked into the logs for my website and I think it is because we are
> linking a product with users shipping list.
> 2012-06-07 15:27:27,700 (http-0.0.0.0-8443-5) [
> ServiceEcaRule.java:134:INFO ] For Service ECA [createShoppingListItem] on
> [in-validate] got false for condition:
> [shoppingListId][is-empty][true][String]
>
> This is just my speculation.
>
> Bhargav
> Walnut Creek, CA
Reply | Threaded
Open this post in threaded view
|

Re: Product not found for Product ID !

bhargav.tri
Thank you for looking into this Jacques and excuse me for the late reply.

But I am able to recreate the scenario for the same widget but I am going
to product detail page first (
http://demo-trunk.ofbiz.apache.org:8080/ecommerce/tiny-chrome-widget-WG-5569-p
) and then adding the item to cart.

After this when I login with DemoCustomer/ofbiz I see "Product not found
for Product ID !"

Also I am redirected to
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product


Secondly to answer this,
Could you explain more
>I looked into the logs for my website and I think it is because we are
>linking a product with users shipping list.

I came across the same error in my website and this is what I see in my
error console;

2012-06-15 18:46:03,122 (http-0.0.0.0-8443-6) [
ShoppingListEvents.java:374:INFO ] Finding existing auto-save shopping
list with:  
findMap: {partyId=10000, productStoreId=MyStore,
shoppingListTypeId=SLT_SPEC_PURP, listName=auto-save}
lists:
{[GenericEntity:ShoppingList][carrierPartyId,null()][carrierRoleTypeId,null()][contactMechId,null()][createdStamp,2012-03-15
14:46:31.0(java.sql.Timestamp)][createdTxStamp,2012-03-15
14:46:31.0(java.sql.Timestamp)][currencyUom,null()][description,null()][isActive,Y(java.lang.String)][isPublic,N(java.lang.String)][lastAdminModified,null()][lastOrderedDate,null()][lastUpdatedStamp,2012-03-15
14:46:31.0(java.sql.Timestamp)][lastUpdatedTxStamp,2012-03-15
14:46:31.0(java.sql.Timestamp)][listName,auto-save(java.lang.String)][parentShoppingListId,null()][partyId,10000(java.lang.String)][paymentMethodId,null()][productPromoCodeId,null()][productStoreId,AutogozaStore(java.lang.String)][recurrenceInfoId,null()][shipmentMethodTypeId,null()][shoppingListId,10000(java.lang.String)][shoppingListTypeId,SLT_SPEC_PURP(java.lang.String)][visitorId,null()]}
2012-06-15 18:46:03,140 (http-0.0.0.0-8443-6) [
ShoppingListEvents.java:147:INFO ] Adding cart item to shopping list
[10000], allowPromo=false, item.getIsPromo()=false,
item.getProductId()=10-1010012-B1, item.getQuantity()=1.00
2012-06-15 18:46:03,146 (http-0.0.0.0-8443-6) [    
ServiceEcaRule.java:134:INFO ] For Service ECA [createShoppingListItem] on
[in-validate] got false for condition:
[shoppingListId][is-empty][true][String]
2012-06-15 18:46:03,201 (http-0.0.0.0-8443-6) [      
 LoginWorker.java:721:INFO ] Running autoLogin check.


Thus I speculated that some where while adding the product to the shopping
list some error is happening.

Excuse me if the above error console looks too congested.

Bhargav



From:   "Jacques Le Roux" <[hidden email]>
To:     <[hidden email]>, <[hidden email]>
Date:   06/09/2012 06:13 AM
Subject:        Re: Product not found for Product ID !



Following your steos, I did not reproduce adding WG-5569 - Tiny Chrome
Widget
I got to
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/showcart 
w/out issues

Could you explain more
>I looked into the logs for my website and I think it is because we are
>linking a product with users shipping list.

Jacques

----- Original Message -----
From: <[hidden email]>
To: <[hidden email]>; <[hidden email]>
Sent: Friday, June 08, 2012 1:15 AM
Subject: Product not found for Product ID !


> Team,
> I am not sure if this is a defect which has already been logged in Jira
or
> my understanding is wrong.
>
> I tried the following scenario in demo-trunk for ecmommerce (
>
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product 

> )
>
> Steps to reproduce my scenario:
> Add an item to cart without logging in.
> Click on login and login into your website.
>
> Expected Result:
> The product detail page or home page should be seen.
>
> Actual Result:
> I am taken to the
>
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/checkLogin/product 

> page and following is seen;
> Product not found for Product ID !
>
> I looked into the logs for my website and I think it is because we are
> linking a product with users shipping list.
> 2012-06-07 15:27:27,700 (http-0.0.0.0-8443-5) [
> ServiceEcaRule.java:134:INFO ] For Service ECA [createShoppingListItem]
on
> [in-validate] got false for condition:
> [shoppingListId][is-empty][true][String]
>
> This is just my speculation.
>
> Bhargav
> Walnut Creek, CA