Open Zhouyirui opened 2 years ago
Multiple bugs have been raised in this issue. The ambiguous error message for edit 9999999 n/Shanna
has been chosen. Reason being:
edit 999999
is as expected, as no fields were specified. When a user specifies edit
with no changes to be made, it is likely to be a user error. This behavior mirrors that of AB3.Issue is a duplicate of #4615, where the issue raised was that an out of bound index did not provide an accurate enough error message for view
. Both view
and edit
make use of the same error message, hence the duplicate behavior.
[The team marked this bug as a duplicate of the following bug]
Unclear error message for view
On viewing a student with an INDEX that is out of bounds (
view 12 T
), the error message displayed informs the user that the selection is invalid. The error message does not inform the user of exact source of the incorrect input, and is unclear.Expected: The error message informs user the INDEX selected is out of bounds.
Actual:
[original: nus-cs2103-AY2122S1/pe-interim#4561] [original labels: type.FeatureFlaw severity.VeryLow]
[This is the team's response to the above 'original' bug]
The wrong error message was printed for invalid index. Accepted.
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 [type.FeatureFlaw
]
Originally [type.FunctionalityBug
]
Reason for disagreement: [replace this with your explanation]
On entering
edit 9999999 n/Shanna
, oredit 999999
, the error message does not inform the user the INDEX is out of bounds.Expected: Error message inform the user that the INDEX is out of bound
Actual: