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

Use current default start year if start year was not saved #876

Merged
merged 6 commits into from Mar 29, 2018

Conversation

hdoupe
Copy link
Collaborator

@hdoupe hdoupe commented Mar 29, 2018

For some older runs, the start year was not saved. So, when you try to go to the edit parameters page from the not_avail.html page and don't have a start year, the link looks like: /taxbrain/edit/100/?start_year=None and you get the following error:
screen shot 2018-03-29 at 1 37 55 pm

The production database has about 700 out of 30000 runs with out a start year and all of them were created in 2014 or 2015. This PR uses the current default start year as the start year value. This may not be the most accurate. Perhaps, using the year from the creation date is more accurate. But, that solution adds more complexity to the code for a small sample of the runs. Also, I feel like using the current start year is the most transparent option. I'm open to other ideas though.

@hdoupe hdoupe merged commit 5809183 into ospc-org:master Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant