nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Genre misread from text file #2179

Open nus-se-script opened 7 months ago

nus-se-script commented 7 months ago

Creating a new genre with a comma in the name may be saved incorrectly into the text file. This might cause duplicates in the genre list and the unintended splitting of genres.

Steps to reproduce:

  1. Start up the .jar file and create a new book (e.g.add book).
  2. Set the genre of that book using set-genre 1 then input Fiction,Fiction to the following prompt.
  3. Exit the file using bye and relaunch the file.
  4. Key in list-genre to observe the genre splitting

Images of steps 1 to 3: image.png

Image of step 4: image.png


[original: nus-cs2113-AY2324S2/pe-interim#1946] [original labels: type.FunctionalityBug severity.Medium]

yeozongyao commented 7 months ago

Team's Response

An oversight on our part, accepted!

Duplicate status (if any):

--