AY2324S1-CS2113-T18-4 / tp

0 stars 5 forks source link

[PE-D][Tester A] Using "|" character in fields will cause issues after re-loading application #86

Open nus-pe-script opened 10 months ago

nus-pe-script commented 10 months ago

Consider the following command: expense /amt 20 /date 30-10-2023 /desc this | will override | NO_EXPENSE_CATEGORY /note pasta /cat transportation

The above command indicates creation of expense with desc set to "this | will override | NO_EXPENSE_CATEGORY" and note set to "pasta" and cat set to "transportation"

image.png

After exiting, notice that the data is changed with fields being overridden because of the use of the "|" in the command option values.

image.png


Labels: severity.Low type.FunctionalityBug original: Jonoans/ped#1

spaceman03 commented 10 months ago

Added instructions in UG to avoid such situations.