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

              • Assignee:
                hong.zhao Hong Zhao
                Reporter:
                jeffrey.tuason Jeffrey Tuason (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 7 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE RC6