lestersimjj / pe

0 stars 0 forks source link

Item Cost can be zero when adding a new item #5

Open lestersimjj opened 2 years ago

lestersimjj commented 2 years ago

Describe the bug
Not sure if free items are considered in this scenario as the UG did not state the lower limits of cost, but to highlight that cost can be $0 when a user adds an item.

To Reproduce

add n/`testspeakers` s/`1234` t/`Speaker` c/`0` pf/`Loud_Technologies` pd/`2022-02-23`

Expected Behavior
Error. Please ensure that the item cost is larger than $0.

Actual Behavior
Equipment successfully added: testspeakers, serial number 1234

Screenshots

image.png

nus-pe-bot commented 2 years ago

Team's Response

Duplicate of #512

The 'Original' Bug

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

Negative cost should not be allowed

I think that negative cost for the products should not be allowed by default, unless there is a reason for it, in which case it would be good to document it.

image.png


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

Their Response to the 'Original' Bug

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

Does not affect operation of the application so severity should be low.

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.FeatureFlaw] Originally [type.FunctionalityBug]

Reason for disagreement: [replace this with your explanation]