Chang-CH / pe

0 stars 0 forks source link

No validation checks done for RoleReq.txt #4

Open Chang-CH opened 3 years ago

Chang-CH commented 3 years ago

Steps to reproduce

  1. edit RoleReq.txt with illegal values, such as

0 -1 -1

or

abc 0 0

Expected

Actual

image.png

image.png

App should minimally continue running. While this issue is unlikely to happen the results can be disastrous (app cannot start). Error messages would help as well.

nus-pe-bot commented 3 years ago

Team's Response

It should be a low severity, given that a manager does not frequently use modify the data files, and that there is no such thing as a negative role requirement, an average user would realise the typo when editing the file anyways.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.High]

Reason for disagreement: App is unusable in response to a user typo, e.g. a 0 0 instead of 0 0 0 in the save file.

While this might not happen to all users, outcome is disastrous (cannot use app, no ability to troubleshoot). This is similar to an example in the PE readiness quiz:

image.png

This does not match the description of a Low severity issue.