The duration of an internship does not accept an input with leading zeros, even though the number of months is a valid duration like 3 months. Moreover, the error message shown does not indicate to the user that leading zeros are not allowed, which means the user must figure it out on his own.
To recreate:
On a pre-existing list with an application in index 4, input modify 4 du/03
Results:
Perhaps a future iteration of the application can implement an error message to indicate this to the user, or ignore leading zeros.
Thanks for pointing out. I think it's a good feature implementation that we can consider. However, we also indicated that duration can only be a positive integer, and '03' is not a positive integer.
The duration of an internship does not accept an input with leading zeros, even though the number of months is a valid duration like 3 months. Moreover, the error message shown does not indicate to the user that leading zeros are not allowed, which means the user must figure it out on his own.
To recreate:
modify 4 du/03
Results:
Perhaps a future iteration of the application can implement an error message to indicate this to the user, or ignore leading zeros.
[original: nus-cs2103-AY2324S1/pe-interim#2564] [original labels: severity.Low type.FunctionalityBug]