You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
patphongs
changed the title
Candidate profile page: 404 on 2-year transaction period if candidate
Candidate profile page: 404 when navigating directly to 2-year transaction period if fec_cycles_in_election null
Sep 14, 2020
De-prioritizing this issue for now. Not easy to get to that broken page. Navigating through normal methods throughout the site gets the user to the right place.
Summary
Navigating to the 2-year transaction period directly on a candidate profile page without fec_cycles_in_election will result in a 404.
How to Reproduce
What should have happened?
The user should not get a 404 when doing this. Consider a redirect to the main All years slice when this happens. Example https://www.fec.gov/data/candidate/S6FL00335/?cycle=2014&election_full=false redirects to https://www.fec.gov/data/candidate/S6FL00335/. By default, the main candidate URL without query params is election_full=true and cycle=[max_cycle]
Screenshots
Related PR
#4034
The text was updated successfully, but these errors were encountered: