Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-1775

Bug when adding an item to an existing order created online by a customer in eCommerce

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 4.0, Trunk
    • Release Branch 4.0, Trunk
    • order
    • None

    Description

      If you want to add an item to an existing order created online by a customer in eCommerce (I think this makes sense as a customer could ask by phone to add after she/he has made her/his order online), you get this error if you have a configured product in the order

      2008-05-08 16:10:56,343 (http-0.0.0.0-18443-Processor4) [ ShoppingCartItem.java:535:WARN ] Tried to add the Product Enchiladas (productId: ENCHILADAS) to the cart, not adding: the product is not configured correctly.
      2008-05-08 16:10:56,343 (http-0.0.0.0-18443-Processor4) [ShoppingCartServices.java:376:ERROR]
      ---- exception report ----------------------------------------------------------
      Exception: org.ofbiz.order.shoppingcart.CartItemModifyException
      Message: Tried to add the Product Enchiladas (productId: ENCHILADAS) to the cart, not adding: the product is not configured correctly.
      ---- stack trace ---------------------------------------------------------------
      org.ofbiz.order.shoppingcart.CartItemModifyException: Tried to add the Product Enchiladas (productId: ENCHILADAS) to the cart, not adding: the product is not configured correctly.
      org.ofbiz.order.shoppingcart.ShoppingCartItem.makeItem(ShoppingCartItem.java:536)
      org.ofbiz.order.shoppingcart.ShoppingCartItem.makeItem(ShoppingCartItem.java:345)
      org.ofbiz.order.shoppingcart.ShoppingCart.addItemToEnd(ShoppingCart.java:593)
      [...]

      Attachments

        1. ShoppingCartItem.java.patch
          9 kB
          Jacques Le Roux

        Activity

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: