Some duplicated parameters are not handled. Only the last of the duplicated parameter is handled.
Opened this issue · 0 comments
onepersonhere commented
Steps to reproduce: open application -> add the command: "
add n/John Doe n/Hoo n/How p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #2-25 i/$1000 m/20 Nov 2022 16:30 ml/13 Computing Drivet/VIPClient r/High pl/Prudential Retirement Plan note/currently having COVID "
This may or may not be intended, however perhaps a duplicated parameter should throw an exception? This is because the user may have typo in their parameter prefix and would not wished that the command would have passed through.
This also happens when I add a duplicate parameter in the json file.