Btaykb / pe

0 stars 0 forks source link

Wrong error message for large index #1

Open Btaykb opened 2 years ago

Btaykb commented 2 years ago

When input an index that is larger than Integer.MAX_VALUE, the error message shown is not correct. Would expect to have both error messages be the same since both values provided are valid indices.

Within range:

image.png

Out of range:

image.png

soc-pe-bot commented 2 years ago

Team's Response

While we agree that this issue is reproducible, we also believe this issue is caused by "extreme user behaviors", as defined in the PE admin guide:

Problems caused by extreme user behaviors:

If the problems can only happen in case of deliberate sabotage (e.g., user entered a 30-digit telephone number), in which case it should not be considered a bug.
However, if such input can be entered by a user mistake, they should not cause harm e.g., such mistakes should not crash the app, corrupt the data, or make it unusable.

We do not expect users to have more than 222 million jobs, as that is beyond the capabilities of our application. Such an input is not expected to occur in normal use.

Additionally, if it does somehow occur (e.g. by a "user mistake"):

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your explanation]