fecgov / fecfile-web-api

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

feature/1978 - independent expenditure presidential primary candidate state not saving #904

Closed dheitzer closed 3 weeks ago

dheitzer commented 1 month ago

#1978

The issue was that the candidate state was not saving on an independent expenditure with presidential primary. This was by design as the candidate contact should not be updated for presidential primaries. The solution was to add a candidate state field to the schedule e transaction and use that in this case.

How to test

Add independent expenditure with candidate contact state set for a presidential primary. Confirm this state appears when transaction is loaded.

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

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

See analysis details on SonarCloud