raft-tech / TANF-app

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

Blank filled SSN not parsing and throws Nonetype error #2938

Closed raftmsohani closed 1 month ago

raftmsohani commented 2 months ago

Description

Following up on #2856 if the SSN field is blank but other fields are filled for the second child in T3, the record passes preparsing validation (after #2856 is merged), but SSN throws None type error.

Notes:

  1. this bug ticket should be done after #2856

Action Taken

An example that created this error:

HEADER20204A06   TAN1EN
T320201011111111112120190127WTTTT90W022212222204398100000000         00000000               000                                                             
TRAILER0002643         

Passed preparsing but throws error and did not parse correctly

What I expected to see

Should parse and show an error for SSN field.

What I did see

Please provide a short description of what you did see. Screenshots are helpful, but please block out any personally identifying information before posting.

Other Helpful Information