nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Error in saving question/answer when '|' delimiter is included #536

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

3_delimiter.png

3_delimiter_2.png

3_delimiter_3.png

When a question or answer which includes the '|' delimiter is added, it interferes with the read functionality from the Flashcards.txt save file.

In this instance, inputting "add Flashcards /q '|' is used as a '' /a delimiter" should input a question with "'|' is used as a ''" with the answer "delimiter".

However, as can be seen in the images, the '|' delimiter interferes with the way the question and answer is stored and read. The question is thus read as "'" and the answer is "' is used as a '_____'" which is incorrect.


[original: nus-cs2113-AY2425S1/pe-interim#223] [original labels: severity.Low type.FunctionalityBug]

naveen42x commented 1 week ago

Team's Response

No details provided by team.

Duplicate status (if any):

--