Fix get_timezone call on exports download page #34759
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Product Description
Fix 500 error on exports page
Technical Summary
https://dimagi.sentry.io/issues/5479646311/?environment=staging&project=136860&query=is%3Aunresolved+issue.priority%3A[high%2C+medium]&referrer=issue-stream&statsPeriod=1h&stream_index=0
Introduced in #34734
In 9f1a31c, I removed a helper function that was a near duplicate (with a different function signature) of a core util, but I neglected to see if that helper function was referenced in other files. It was, and since it had the same name as the core utility, the other file, the import didn't break. Only when it was called and encountered the different function signature did it actually error.
Feature Flag
Safety Assurance
Safety story
Testing on staging now, but it's pretty straightforward
Automated test coverage
QA Plan
Rollback instructions
Labels & Review