nus-cs2113-AY2122S2 / pe-dev-response

0 stars 0 forks source link

[FEATURE] add og/ unable to increase quantity directly #599

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Describe the bug
Wanted to increase the orderline quantity but unable to.

To Reproduce
Steps to reproduce the behavior:

  1. Type: add ug/ sku/JC1 n/Jasper d/jasper the boy size/small
  2. Type: add g/ sku/JC1 qty/30
  3. Type: add o/ oid/1 r/jasper addr/jasper
  4. Type: add og/ oid/1 sku/JC1 qty/1
  5. Type: add og/ oid/1 sku/JC1 qty/1
  6. See error

Expected behavior
Should be able to add onto the orderline quantity

Screenshots
image.png


[original: nus-cs2113-AY2122S2/pe-interim#535] [original labels: severity.Low type.FeatureFlaw]

Shyunyin commented 2 years ago

Team's Response

Thank you for your response. However, we believe that the tested might have misunderstood how the add orderline command is supposed to work. If a user wants to edit the quantity of the orderline, he or she should remove the orderline and add it again with the new quantity. Therefore this cannot be considered as a flaw if it is not what the feature is set out to be.

Duplicate status (if any):

--