Open YiFei2 opened 2 years ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Unintuitive error message when editing the wrong list
Problem:
When trying to edit details on the wrong list (e.g.
editp
when the list is showing companies) give an unintuitive error message as shown.Why is it an issue:
Since editing a person's company name requires a match with the name of previously added companies, it is possible that such a scenario happens:
- User tries to update the company name of a added person
- User entered the wrong name as the company name is not straightforward (e.g. *DBSSSS vs DBSSS)
- User uses
listc
to verify the exact name- User tries to use
editp
while the company list is showingThis seems to be a valid scenario, but the error message will not help guide the users to the correct list to execute the command.
[original: nus-cs2103-AY2122S2/pe-interim#1346] [original labels: severity.Medium type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
Reason for changing to Low
The UG has specified that the commands will not work if the displayed list is incorrect. In particular, this is accounting the feature freeze given (unable to change the error message), but we have put appropriate information in the UG.
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]
Error message indicates an invalid index provided, however, the error is that I am editing on an invalid list for the editp command. Hence, the error message does not match the error in behaviour.