nus-cs2103-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Negative price not accepted #3339

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Screenshot 2022-11-11 at 4.37.13 PM.png

Issue

Minor nitpick - Error message when trying to add a property with negative price displays the error message "Price should only contain numbers and an optional exponent within the range

Steps to reproduce

  1. addprop -n Apple -p -0.0005 -a james stree t -d hihi -o Ben -ph 91234567
  2. See the error message

Suggestion

Change the error message to allow it to include "non-negative numbers"


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

riccqi commented 1 year ago

Team's Response

We agree that is this a weird error message.

Duplicate status (if any):

--