fecgov / fecfile-web-api

Back-end API for FECfile application
7 stars 2 forks source link

Feature/901 dot fec crash fix #903

Closed Elaine-Krauss-TCG closed 1 month ago

Elaine-Krauss-TCG commented 1 month ago

901

When creating .FEC files for forms 99, 1m, and 24, the API would crash. This happened because the API would try to calculate summaries for those reports when that is not intended behavior. Checks were put into place to avoid calculating summaries for reports outside of a list of acceptable forms (FORMS_TO_CALCULATE as found in the report models file)

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
95.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud