tanyizhe / pe

0 stars 0 forks source link

Card adding bug #9

Open tanyizhe opened 1 year ago

tanyizhe commented 1 year ago

image.png

image.png

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.

soc-pe-bot commented 1 year ago

Team's Response

No details provided by team.

The 'Original' Bug

[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]

Their Response to the 'Original' Bug

[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.


## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.High`] - [x] I disagree **Reason for disagreement:** This fundamentally changes the function of the program when typing in any question or answer that requires -q or -a. Severity is definitely not "Low".