nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Add command shows error even when i use the example from the UG #5231

Open nus-pe-bot opened 7 months ago

nus-pe-bot commented 7 months ago

I am using the example command provided in the UG.

Expected: A success message

image.png

Actual: An error message even though this was the prefix provided in the UG (Invalid prefix has been detected.) I am not even told what is the incorrect prefix so I don't know where i went wrong

image.png


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

purivirakarin commented 7 months ago

Team's Response

Actual (Copy directly from UG in NetConnect website): "add n/Benson Mayer p/87728933 e/mayerb@example.com a/311, Clementi Ave 2, #02-25 role/Client pref/Dairy-free prod/Sourdough bread prod/Raisin Bread"

What tester execute: "add n/Benson Mayer p/87728933 e/mayerb@example.com a/311, Clementi Ave 2, #02-25 role/Client pref/Dairy-freeprod/Sourdough bread prod/Raisin Bread"

This happen because, when the tester copy the command from the UG pdf file, the space between Dairy-free and prod has never been taken. This is page size of the PDF file. As can be seen from the attached image from the NetConnect website, the newline works fine and does not cause any problem when copying the command and paste to NetConnect application.

image.png

Duplicate status (if any):

--