nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Book name with pipes corrupts the text file #1833

Open nus-se-script opened 5 months ago

nus-se-script commented 5 months ago

Without tampering with the text file itself, keying in a book name with pipes in it (e.g. new | book) corrupts the text file and prevents the product from using the book names with pipes in them. The program acknowledges this corrupted text file, but does not attempt to fix it in any way.

Image for reference:

image.png


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

Joshuahoky commented 5 months ago

Team's Response

Thank you for raising this. It did not occur to me when I was handling the reading and writing to the file. However severity should be low as books do not have the '|' character in the title. Also a duplicate issue of #1046.

Duplicate status (if any):

Duplicate of #1046