nus-cs2103-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Wrong error thrown when editing cap value #3499

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

Steps:

1) Type add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 c/3.50/4.00 g/male u/Nanyang Polytechnic gd/05-2024 m/Computer Science ji/173296 jt/Software Engineer Intern t/rejected t/KIV into command box 2) Type edit 1 c/100/5

Expectation: Show an error that CAP_VALUE cannot be greater than CAP_MAXIMUM Actual: Show generic error for wrong input of CAP

The input that is inputted follows the error command restraints but is rejected. Perhaps a more specific error stating that the CAP_VALUE cannot be greater than CAP_MAXIMUM will be better.

Screenshot 2022-11-11 at 4.31.46 PM.png


[original: nus-cs2103-AY2223S1/pe-interim#3181] [original labels: type.FunctionalityBug severity.Low]

maryjess commented 1 year ago

Team's Response

No details provided by team.

Duplicate status (if any):

--