raft-tech / TANF-app

Repo for development of a new TANF Data Reporting System
Other
16 stars 3 forks source link

As an STT user, I need an accurate error report when I space-fill `COUNTY_FIPS_CODE` #3025

Open ADPennington opened 3 weeks ago

ADPennington commented 3 weeks ago

Description: Provide a brief background and justification for this issue

When STTs submit records with space-filled value for COUNTY_FIPS_CODE, the following error appears in the logs:

   2024-06-05T14:04:48.89-0400 [APP/PROC/WEB/0] ERR 2024-06-05 18:04:48,898 DEBUG fields.py::parse_value:L45 :  Field: 'COUNTY_FIPS_CODE' at position: [19, 22) is empty.
   2024-06-05T14:04:48.89-0400 [APP/PROC/WEB/0] ERR 2024-06-05 18:04:48,898 ERROR parse.py::manager_parse_line:L370 :  'NoneType' object has no attribute 'lstrip'

The error report associated with files like this yield incomplete and incorrect error messages (see below). In particular,

3025p1

STT users are unable to make corrections based on this feedback.

Acceptance Criteria: Create a list of functional outcomes that must be achieved to complete this issue

Tasks: Create a list of granular, specific work items that must be completed to deliver the desired outcomes of this issue

Notes: Add additional useful information, such as related issues and functionality that isn't covered by this specific issue, and other considerations that will be helpful for anyone reading this

Supporting Documentation: Please include any relevant log snippets/files/screen shots

Open Questions: Please include any questions or decisions that must be made before beginning work or to confidently call this issue complete

robgendron commented 1 week ago

2 points remaining.

robgendron commented 1 week ago

1 point remaining.