Open tanyizhe opened 1 year ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
bug: using multiple flags results in concatenation of input
Description
When entering multiple flags one after another, the value of the flags are concatenated, where one might expect the application to ignore one of the flags, or give an error message.
Steps to reproduce
- Input:
card add -q q4 -q q5 -a a5
Resulting Entry
4. [24d3b0e3-446c-46b4-862c-8cf0bd8fc621] Qn: q4 q5 Ans: a5
[original: nus-cs2113-AY2223S2/pe-interim#2091] [original labels: type.FunctionalityBug severity.Low]
[This is the team's response to the above 'original' bug]
Thank you for raising this bug!
We have traced this to an unexpected integration behaviour with our third-party parser library, which causes parsing of multiple-token arguments (e.g., for
-q
and-a
) to be parsed incorrectly.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 disagree. I think this is a separate bug. Rather than a flag, I was attempting to test if the inputs can be mistakenly be recognised as a flag.
Answers of cards with -q in front disappears. This may cause users to not be able to type the answer they actually want to type into the card.