Open yuzhongng opened 2 years ago
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 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"
[original: nus-cs2113-AY2122S2/pe-interim#863] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
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.
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]
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
when i input "1e10000" for the salary of the staff. The application accept the input and display the salary as infinity