-
Notifications
You must be signed in to change notification settings - Fork 40
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 candidate page 404 errors due to missing district #2500
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2500 +/- ##
===========================================
- Coverage 75.03% 74.92% -0.11%
===========================================
Files 113 113
Lines 6929 6932 +3
Branches 598 598
===========================================
- Hits 5199 5194 -5
- Misses 1730 1738 +8
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, works well. Code looks good.
@lbeaufort Just a couple questions, how many candidates would you say this affects? I'm assuming very few. And are they more likely to be new, first-time, filers? I pulled it down locally and the changes look good/make sense since there's no district and we're unable to compare the candidate to other candidates. At this point, the only thing I would add, and this can go in a followup ticket would be to address the blank committees section. |
@JonellaCulmer I'd say pretty few candidates have blank districts, they're usually new filers, and they're usually corrected fairly quickly. I agree about the blank committees section - do you mind putting in an issue? |
@lbeaufort Great! Yup, I'll put in an issue. But this one looks good otherwise. Will review and merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Thanks for catching!
Summary (required)
Found while testing #2463
Impacted areas of the application
List general components of the application that this PR will affect:
Screenshots
Before
After
How to test
dev
APIhttp://localhost:8000/data/candidate/H0CA00116/?tab=summary
http://localhost:8000/data/candidate/H0CA00116/?tab=about-candidate