AY2021S2-CS2103-T14-2 / tp

https://ay2021s2-cs2103-t14-2.github.io/tp/
MIT License
0 stars 5 forks source link

[PE-D] addon command bug when updating the price #130

Closed nus-pe-bot closed 3 years ago

nus-pe-bot commented 3 years ago

List of command to reproduce:

  1. clear
  2. add n/Subway ra/5 p/6 re/I like this food a lot! a/3155 Commonwealth Ave W, Singapore 129588 c/FastFood c/Vegan s/SOC
  3. addon 1 p/20
  4. addon 1 p/15

Expected: after step 4, the price range should change from $6-20 to $6-15

Actual: the price range does not change. It remains at $6-20

comments: It would be clearer to state explictly in UG that, addon command only add on extra things that the existing does not include. State explictly, how it is differently from the edit command. Otherwise, it would be very confusing. When i was using the addon command, when i type in step 4 above. I thought the price range should change to $6-15. I almost wanted to report this as a FunctualityBug, but when i think about it twice, its more of a Documentation bug.


Labels: severity.Medium type.DocumentationBug original: icytornado/ped#2

Sidney011100 commented 3 years ago

"only add on extra things" as Tester has said, thus the command "Add On" is suffice, but will be more explicit