After some testing, I found out that the overwrite command is supposed to have an index contrary to what error message says. Therefore trying to use the overwrite command without an index should lead to a invalid error message.
Steps to reproduce
add n/Taylor Sheesh p/98765432 e/taytay@taylor.com a/Rhode Island
Reason for disagreement: Since no details/responses were provided, I am still unclear as to why this was rejected.
## :question: Issue type
Team chose [`type.FeatureFlaw`]
Originally [`type.FunctionalityBug`]
- [x] I disagree
**Reason for disagreement:** This looks to me like incorrect behaviour of the `overwrite` command, therefore a `type.FunctionalityBug`
Information
After some testing, I found out that the
overwrite
command is supposed to have an index contrary to what error message says. Therefore trying to use the overwrite command without anindex
should lead to a invalid error message.Steps to reproduce
add n/Taylor Sheesh p/98765432 e/taytay@taylor.com a/Rhode Island
overwrite n/Taylor Sheesh p/9999 e/sheeshee@com a/island
Expected
A message saying invalid command format, such as the one shown below when
overwrite
is entered.Actual
The app responds with new person added, even though I used the wrong command format without an 'index'