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

Fix crash in all time stats in 12 1 #9584

Merged
merged 2 commits into from
Apr 10, 2019

Conversation

planarvoid
Copy link
Contributor

Fixes #8886
The same fix as #9552 in release 12.1

Copied description:

Sometimes the viewsBestDay seems to be empty. The date parses cannot handle this use case. I'm changing the code so we only parse a non-empty date. If it's empty, we don't show the tooltip.

I've added a test to cover this scenario

To test:

Go to Stats/Insights on an empty Site
The App doesn't crash

@jtreanor jtreanor merged commit f05f367 into release/12.1 Apr 10, 2019
@jtreanor jtreanor deleted the fix_crash_in_all_time_stats_in_12_1 branch April 10, 2019 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants