Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix List Index Out of Range Error in resize_award_reference Transformation #4513

Closed
sambodeme opened this issue Dec 5, 2024 · 0 comments · Fixed by #4519
Closed

Fix List Index Out of Range Error in resize_award_reference Transformation #4513

sambodeme opened this issue Dec 5, 2024 · 0 comments · Fixed by #4519
Assignees
Labels

Comments

@sambodeme
Copy link
Contributor

sambodeme commented Dec 5, 2024

Description

The resize_award_reference function is part of a intake transformation process for award references. During this transformation, the _format_reference function assumes all award reference strings are in the format PART1-PART2. However, if the input contains malformed award references (e.g., missing a dash), it triggers a "list index out of range" error when trying to access parts[1].

This issue impacts subsequent schema validation.

@github-project-automation github-project-automation bot moved this to Triage in FAC Dec 5, 2024
@sambodeme sambodeme self-assigned this Dec 5, 2024
@sambodeme sambodeme moved this from Triage to In Progress in FAC Dec 5, 2024
@sambodeme sambodeme added the eng label Dec 5, 2024
@sambodeme sambodeme linked a pull request Dec 6, 2024 that will close this issue
18 tasks
@github-project-automation github-project-automation bot moved this from In Progress to Done in FAC Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant