Open Chronoxy opened 4 days ago
I agree there's a discrepancy between the documentation and actual behaviour, but I would classify this as a type.DocumentationBug with severity.Low rather than a feature flaw. This is a documentation bug because:
The current error handling behavior (showing 'Invalid command format!') is following standard CLI conventions and provides clear feedback to users The UG needs to be updated to accurately reflect the different error scenarios and their corresponding messages The actual implementation is working as intended - it's the documentation that needs to match the implementation
I would classify this as severity.Low because:
The fix would be to update the UG to accurately document both cases:
Team chose [type.DocumentationBug
]
Originally [type.FeatureFlaw
]
Reason for disagreement: I believe the User Guide was updated with the intention to include specific error messages but it may have lapsed somewhere along the way. Otherwise, it would be added to the User Guide.
Furthermore, as mentioned in the Bug Triaging advises, "Error Messages can be correct but not specific enough", these cases can be considered Type.FeatureFlaw
. Therefore, I firmly believe this should remain as a type.FeatureFlaw
bug report.
Background
Based on UG, mentioned that there should be 3 kinds of error messages. The last of the 3 is the specific error message.
Test Case
add n/John Lee nric/S9369777D p/91234567 a/123 Medical D role/PATIENT t/Chicken
Expected Behaviour
Error message: Missing required field: Email
Encountered Behaviour
Invalid command format!
Suggestion
Best would be to specify the missing fields, but minimal changes would be to change your UG