[jira] [Closed] (OFBIZ-10668) Quantity of the product added in the cart should not be negative

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

[jira] [Closed] (OFBIZ-10668) Quantity of the product added in the cart should not be negative

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-10668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suraj Khurana closed OFBIZ-10668.
---------------------------------

Thanks Dikpal Kanungo for reporting and Prakhar Kumar for providing the patch.

> Quantity of the product added in the cart should not be negative
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-10668
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10668
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12
>            Reporter: Dikpal Kanungo
>            Assignee: Suraj Khurana
>            Priority: Minor
>             Fix For: 17.12.01, 16.11.06
>
>         Attachments: Negative product quantity in cart.png, OFBIZ-10668.patch
>
>
> When a user adds a product to cart from View cart page, the quantity field can be changed to negative which should not happen.
> Steps to regenerate -
> Navigate to View Cart Page
> Add a product - GZ-1000 and quantity - 1
> Now update the quantity in cart to a negative number.
>  
> Expected -
> The user should not be able to decrease the count to negative when the item is in the cart
> Please have a look at the attached screenshot. !Negative product quantity in cart.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)