Description
Attempting to delete a scheduled meeting using the deletion command results in an incorrect error message. Instead of indicating that the meeting is not scheduled for the person, the application returns a generic invalid command format message.
Steps to Reproduce
Start the application and select a person who has a scheduled meeting.
Use the meeting deletion command with the correct index of the person and the scheduled meeting.
Example: meeting-delete 5 d/Meet for finals s/12/04/2023 18:00
Observe the error message.
Expected Result
The application should validate that the meeting index is valid and display a message indicating that the meeting is not scheduled if that's the case.
Actual Result
The application provides a generic error message "Invalid command format!" which is not informative about the true issue - the meeting exists but is not recognized by the deletion command.
Severity
I would rate the severity of this bug as Medium, as it impedes the users' workflow by not providing clear feedback, potentially causing confusion when managing meetings.
Suggestions
An appropriate error message should be displayed, such as "Meeting not found for the given index," to accurately reflect the issue at hand.
Description Attempting to delete a scheduled meeting using the deletion command results in an incorrect error message. Instead of indicating that the meeting is not scheduled for the person, the application returns a generic invalid command format message.
Steps to Reproduce Start the application and select a person who has a scheduled meeting. Use the meeting deletion command with the correct index of the person and the scheduled meeting. Example: meeting-delete 5 d/Meet for finals s/12/04/2023 18:00 Observe the error message. Expected Result The application should validate that the meeting index is valid and display a message indicating that the meeting is not scheduled if that's the case.
Actual Result The application provides a generic error message "Invalid command format!" which is not informative about the true issue - the meeting exists but is not recognized by the deletion command.
Severity I would rate the severity of this bug as Medium, as it impedes the users' workflow by not providing clear feedback, potentially causing confusion when managing meetings.
Suggestions An appropriate error message should be displayed, such as "Meeting not found for the given index," to accurately reflect the issue at hand.
Labels:
severity.Low
type.FunctionalityBug
original: Shauryan123/ped#8