Open 4ndrelim opened 1 year ago
It is a feature flaw as we do not cater to hyphens when parsing user inputs for descriptions.
[The team marked this bug as a duplicate of the following bug]
Add Command: Instruction does not allow for dashes
I believe that titles should be allowed to accept hyphen-dashes, espcially since there are words that exist in the dictionary that have dashes.
Not frequent to have such words but may still confuse the user especially since the error message claims that a word/sentence was not given for the title when orange-juice is considered a word
[original: nus-cs2103-AY2223S2/pe-interim#2765] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
It is a feature flaw as we only take in alphanumeric and space when parsing user inputs for descriptions/titles/etc.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: I don't think it's a duplicate issue for the following reasons:
My main concern is that hyphens and dashes should be supported in the parsing of titles, tags and steps / when adding recipe into CookHub. While i did mention error message, it is more of an 'add-on' reason to inform that the error message isn't helpful in explaining why my proposed input failed.
i stand by my decision that it is ultimately a FunctionalityBug
(explained below under dispute for 'Issue type') and is possibly a medium severity (explained below as well)
There are valid words/sentences that contain hypens or dashes and should be supported when adding a recipe into CookHub. Such words are also not uncommon in titles/description/steps of cookbooks. (title field also face the same issue)
It is also not explicitly stated in the UG that words with hyphens are not allowed / how they should be handled. Error message fails to capture this issue as well.