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

[BUG] Dashboards crashes when time filter is out of range #911

Open
hackacad opened this issue Nov 5, 2021 · 2 comments
Open

[BUG] Dashboards crashes when time filter is out of range #911

hackacad opened this issue Nov 5, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hackacad
Copy link
Contributor

hackacad commented Nov 5, 2021

Describe the bug

A clear and concise description of what the bug is.
Opensearch Dashbaords crashed when entering a time range (filter) beyond ~10k years.

To Reproduce
Steps to reproduce the behavior:

  1. Opensearch Dashboards
  2. Select relative
  3. 999999 Years from now
  4. Dashboards will crash

Expected behavior
Show an error message like "time out of range"

OpenSearch Version
1.0
1.1

Dashboards Version
1.0
1.1

Screenshots

Screenshot

Host/Environment (please complete the following information):

  • OS: FreeBSD 13.0
  • Browser and version current Chrome and Safari

Additional context

As discussed on Discord Opensearch unofficial

@hackacad hackacad added bug Something isn't working untriaged labels Nov 5, 2021
@kavilla kavilla removed the untriaged label Nov 11, 2021
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
@joshuarrrr
Copy link
Member

But I do think we should re-examine the bounds checking and handling in the date range filter - it's weird that you can (for example) set both the start and end time to the future. And there is also inconsistency in the error handling and rendering of various visualization types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants