opensearch-project / opensearch-project/reporting
[BUG] Reports set with a floating point number trigger frequency are rounded without input
Open
@kavithacm is already working on this.
Since Nov 16, 2021.
bug
good first issue
- Dominant language
- Kotlin
- Stars
- 35
- Forks
- 87
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 7
Description
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:
- Create a report
- Go to "report trigger"
- select "schedule"
- select "recurring"
- select "frequency - by interval"
- enter 0.5 for "every" and "hour"
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.