You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "youssef khaye (JIRA)" <ji...@apache.org> on 2008/12/17 10:56:44 UTC

[jira] Created: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart

strange behavior of OFBIZ adding product to the shopping cart
-------------------------------------------------------------

                 Key: OFBIZ-2088
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
             Project: OFBiz
          Issue Type: Bug
          Components: specialpurpose/webpos
    Affects Versions: SVN trunk
            Reporter: youssef khaye


when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart from WebPos

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-2088:
-----------------------------------

    Summary: strange behavior of OFBIZ adding product to the shopping cart from WebPos  (was: strange behavior of OFBIZ adding product to the shopping cart)

> strange behavior of OFBIZ adding product to the shopping cart from WebPos
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-2088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>         Attachments: WebPosPatch.txt
>
>
> when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart from WebPos

Posted by "Marco Risaliti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Risaliti reassigned OFBIZ-2088:
-------------------------------------

    Assignee: Marco Risaliti

> strange behavior of OFBIZ adding product to the shopping cart from WebPos
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-2088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>            Assignee: Marco Risaliti
>         Attachments: WebPosPatch.txt
>
>
> when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart

Posted by "youssef khaye (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

youssef khaye updated OFBIZ-2088:
---------------------------------

    Attachment: WebPosPatch.txt

After a breef look in depth of things, I figured out that the method "addToCart" of the class org.ofbiz.order.shoppingcart.ShoppingCartEvents did not search for a field productGoodIdentification which contains the new productId as defined in the form.
I suggest the attached patch, wich assing the value of productGoodIdentification, if existing, to productId.
Best regards.

> strange behavior of OFBIZ adding product to the shopping cart
> -------------------------------------------------------------
>
>                 Key: OFBIZ-2088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>         Attachments: WebPosPatch.txt
>
>
> when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.