Details

    Description

      Reproduced in Branch & Master

      Steps to reproduce:

      Test 1:

      • Add Shopping portlet to a page.
      • Click Add Item and fill in the details
      • Clear out Min Qty field and input Max Qty field.
      • Click the Item and then Add to Shopping Cart.
      • Set the Quantity field to a negative number (-1) or non-integer number ("c")
      • Click Update Cart.

      EXPECTED: displayed error that the quantity is not a number.
      ACTUAL: the cart removes the item in question. This is problematic if a user has multiple items in their cart because they have no way to know it failed, which item disappeared, or how to add it again.

      Test 2:

      • Do same as above except this time put 1 as Min Qty and Max Qty of 20.
      • Add item to cart
      • There is now a drop down from 0-10.

      You cannot add more than 10 items.
      If you go back and try to additional items, the cart goes back to 0.

      Attachments

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              jeffrey.tuason Jeffrey Tuason (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 32 weeks, 1 day ago

                Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE RC6