nus-cs2113-AY1920S2 / pe-dev-response

0 stars 0 forks source link

Adding price that was $0 #701

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.


I was able to add an ingredient of a price that was $0, which usually fails in the program, by adding this ingredient in the textfile. I have attatched a screenshot to see what it looks like

unnamed.png


[original: nus-cs2113-AY1920S2/pe-interim#705]

jinfayap commented 4 years ago

Team's Response

Trying to change the data in an input file is not acceptable. What a save file does is to load the data that may be input from Kitchen Helper. Trying to force an error that differs from the system to not accept it through a command line interface, is like one can purposely add an invalid format to the input file and causing some error when running the system. Please do not try to change any data in the save file.

Additional updates:

image.png

black window in terminal, white window in intellij. Both can add price of $0 to the system.

Duplicate status (if any):

--