HongRay / pe

0 stars 0 forks source link

Product quantity of 0 allowed. #17

Open HongRay opened 2 months ago

HongRay commented 2 months ago

image.png

Steps to reproduce:

  1. create orde m/1 pq/0

Expected: Error message that says quantity is 0.

Actual: 0 quantity is allowed.

soc-pe-bot commented 2 months ago

Team's Response

This is intended, in case the customer tells the seller he/she wants to order something, but cannot confirm the quantity yet. In this case, it would be convenient for the seller to mark the quantity as zero temporarily.

We would mark this as a documentation bug instead, since we did not mention such usage in the user guide.

We consider severity to be 'Low', since it would hardly affect usage of the app even if the user is not aware of this.

Items for the Tester to Verify

:question: Issue type

Team chose [type.DocumentationBug] Originally [type.FunctionalityBug]

Reason for disagreement: [replace this with your explanation]


## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.Medium`] - [x] I disagree **Reason for disagreement:** Given the hindsight of your explanation, if this is an intended outcome, I agree that this should be mentioned in the documentation that this is an intended outcome, therefore making it a **Documentation Bug**. However, without the hindsight that the developer intended for this outcome as it was not in the documents, I stand with the severity of my case as this is a bug that allowed the value 0 (edge case) to be added and it does not make sense for the user to input quantity 0 when placing an order.