US-EPA-CAMD / easey-ui

Project Management repo for EPA Clean Air Markets Division (CAMD) Business Suite of applications
MIT License
0 stars 0 forks source link

Incorrect Error Message for Large Max Fuel Flow Rate Value #6240

Open lgiannini1 opened 4 months ago

lgiannini1 commented 4 months ago

Created out of ticket #5698. When adding a Max Fuel Flow Rate value in a Monitoring System Fuel Flow record that is greater than the acceptable amount of digits, the error message returned is incorrect. The error message should inform users what the maximum amount of digits they can enter is. Currently in ECMPS 1.0, users are allowed to enter a Max Fuel Flow Rate value that is up to 8 digits left of the decimal place and one decimal place.

Steps to reproduce:

  1. Check out ORIS 612, FMCT2A
  2. In the Systems section of the monitoring plan, select system 108
  3. Click View/Edit for one the PNG System Fuel Flow records
  4. Enter a large Max Fuel Flow Rate value (ex. 100000000) and attempt to save. An incorrect error message is returned.

Image

usmanahmederg commented 3 months ago

@lgiannini1 I checked the document and the error message that is mentioned in the document is the same that I see on the frontend can you please tell me what needs to be changed or added in the error message?

Image

Image

These are the screenshots.

annalbrecht commented 3 months ago

Moving this to 2025 as it is a low priority. The value entered is too large- it shouldn't be greater than 8 decimal places left of the decimal point.