You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
Unable to Edit Report Definition by request time from Recurring to Cron based and from Cron based to Recurring.
How can one reproduce the bug?
Steps to reproduce the behavior:
Bug 1: Edit request time from Recurring to Cron based
Create report definition with request time Recurring
Query Execution:
curl -X GET "localhost:9200/_plugins/_reports/definition/QRebUpIBg7m4Lu8dXvJT?pretty" -H 'Content-Type: application/json' -d'{"from":0,"size":10000,"timeout":"60000ms","query":{"terms":{"tenant":[""],"boost":1.0}},"sort":[{"lastUpdatedTimeMs":{"order":"asc"}}]}'
Edit the Report by request time from Recurring to Cron based
Query Execution:
curl -X GET "localhost:9200/_plugins/_reports/definition/QRebUpIBg7m4Lu8dXvJT?pretty" -H 'Content-Type: application/json' -d'{"from":0,"size":10000,"timeout":"60000ms","query":{"terms":{"tenant":[""],"boost":1.0}},"sort":[{"lastUpdatedTimeMs":{"order":"asc"}}]}'
Note: Within schedule "interval" is not updated to "cron"
But it is not updated in Report Definition
Bug 2: Edit request time from Cron based to Recurring
Create report definition with request time Cron based
Edit the Report by request time from Cron based to Recurring
But it is not updated in Report Definition
Note: Same as Bug1
What is the expected behavior?
The Report Definition Edit should be work properly.
Do you have any additional context?
Actually we observed "In Edit report definition both interval and cron are available in data" by executing the query
curl -XGET "http://localhost:9200/.opendistro-reports-definitions/_search?pretty" -H 'Content-Type: application/json' -d' {"from":0,"size":10000,"timeout":"60000ms","query":{"terms":{"tenant":[""],"boost":1.0}},"sort":[{"lastUpdatedTimeMs":{"order":"asc"}}]}'
The text was updated successfully, but these errors were encountered:
What is the bug?
Unable to Edit Report Definition by request time from Recurring to Cron based and from Cron based to Recurring.
How can one reproduce the bug?
Steps to reproduce the behavior:
Bug 1: Edit request time from Recurring to Cron based
Query Execution:
curl -X GET "localhost:9200/_plugins/_reports/definition/QRebUpIBg7m4Lu8dXvJT?pretty" -H 'Content-Type: application/json' -d'{"from":0,"size":10000,"timeout":"60000ms","query":{"terms":{"tenant":[""],"boost":1.0}},"sort":[{"lastUpdatedTimeMs":{"order":"asc"}}]}'
Query Execution:
curl -X GET "localhost:9200/_plugins/_reports/definition/QRebUpIBg7m4Lu8dXvJT?pretty" -H 'Content-Type: application/json' -d'{"from":0,"size":10000,"timeout":"60000ms","query":{"terms":{"tenant":[""],"boost":1.0}},"sort":[{"lastUpdatedTimeMs":{"order":"asc"}}]}'
Note: Within schedule "interval" is not updated to "cron"
Bug 2: Edit request time from Cron based to Recurring
Note: Same as Bug1
What is the expected behavior?
The Report Definition Edit should be work properly.
Do you have any additional context?
Actually we observed "In Edit report definition both interval and cron are available in data" by executing the query
curl -XGET "http://localhost:9200/.opendistro-reports-definitions/_search?pretty" -H 'Content-Type: application/json' -d' {"from":0,"size":10000,"timeout":"60000ms","query":{"terms":{"tenant":[""],"boost":1.0}},"sort":[{"lastUpdatedTimeMs":{"order":"asc"}}]}'
The text was updated successfully, but these errors were encountered: