yuzhongng / pe

0 stars 0 forks source link

Salary of the staff can be infinity #5

Open yuzhongng opened 2 years ago

yuzhongng commented 2 years ago

when i input "1e10000" for the salary of the staff. The application accept the input and display the salary as infinity

image.png

nus-pe-bot commented 2 years ago

Team's Response

image.png

While it is possible to have infinity as the staff salary, it will only occur in the case of deliberate sabotage, and the app still works after handling the input. Hence the team doesn't think it constitutes as a bug.

The 'Original' Bug

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

Price of a dish can be infinity

When I edit a dish, i can make the dish infinity when i input "1e10000"

image.png


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

Their Response to the 'Original' Bug

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

image.png

Teams believes that this is a form of extreme and unusual input provided by user.

In such case, programme continues to work as per normal, without any crashes or severe unusability.

Duplicate issues can be fixed from the same place in the code.

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]