adeearyaa / pe

0 stars 0 forks source link

Feature Flaw when trying to place order #1

Open adeearyaa opened 1 year ago

adeearyaa commented 1 year ago

Screenshot 2022-11-11 at 4.23.52 PM.png If there are less bolsters than the customer have ordered there should be an error message since this order cant be completed

nus-pe-script commented 1 year ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

An order can be made even if it needs a larger quantity of items than what is in the inventory.

Screenshot 2022-11-11 at 5.00.13 PM.png

Here, an order of 351 candy canes keychains can be made, although there are only 350 candy canes keychains in the inventory. This defeats the purpose of keeping track of inventory items.


[original: nus-cs2103-AY2223S1/pe-interim#5165] [original labels: type.FeatureFlaw severity.VeryLow]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

The team intended for this behaviour for the functionality. The rationale is to allow orders which are pre-orders and allow users to take in orders even though they do not have the required inventory to fulfil them at the given moment. This is akin to normal business operation behaviors in reality.

Additionally, to ensure data consistency between orders and inventory, our mark order functionality only updates the appropriate inventory item quantities when there are sufficient in-stock quantities to deliver an order.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]


:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]


:question: Issue severity

Team chose [severity.VeryLow] Originally [severity.Medium]

Reason for disagreement: [replace this with your explanation]