opensearch-project/reporting

[BUG] Reports set with a floating point number trigger frequency are rounded without input

Open

#71 geöffnet am 3. Juni 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Kotlin (87 Forks)auto 404
buggood first issue

Repository-Metriken

Stars
 (33 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Describe the bug A non whole number value on a report trigger frequency results in frequency dropped to 0.

To Reproduce Steps to reproduce the behavior:

  1. Create a report
  2. Go to "report trigger"
  3. select "schedule"
  4. select "recurring"
  5. select "frequency - by interval"
  6. enter 0.5 for "every" and "hour"
  7. click "create"

When you view the report definition, it will show "By interval, every 0 hours"

Expected behavior When you view the report definition, it will show "By interval, every 0.5 hours" or "By interval, every 30 minutes"

Plugins All OpenSearch plugins

Host/Environment (please complete the following information):

  • OS: MacOS
  • Version: Chrome Version 90.0.4430.212 (Official Build) (x86_64)
  • OpenSearch 1.0 RC-1

Contributor Guide