1szheng / pe

0 stars 0 forks source link

Incorrect edit feature #9

Open 1szheng opened 2 years ago

1szheng commented 2 years ago

The edit feature's editing of quantity does not fulfil the definition of an edit. The edit feature's edit of quantity increments the current quantity by said new amount.

image.png

image.png

nus-pe-bot commented 2 years ago

Team's Response

No details provided by team.

The 'Original' Bug

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

Unable to set new quantity for for item

image.png

Upon using the edit command to set a new quantity for an item. I was only able to add on to the existing quantity.

image.png

In the UG, it states that the q/ is used for a new quantity for the item.


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

Their Response to the 'Original' Bug

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

This should be a documentation issue - the team intended for edit to only allow for increments, and this change is shown in the examples section.

image.png

If a user needs to decrement item count, the user can delete and add items back manually - the feature is still useable.

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 type

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

Reason for disagreement: [replace this with your explanation]