Bug #32359
closedHammer Report-Template Complains about 'Input Days from Now' Being Blank
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1943306
Description of problem:
This seems like a regression from earlier versions of Satellite. Trying to generate a Subscription - Entitlement Report throws an error about Input Days from Now. Earlier versions of Satellite (6.6, 6.7) did not show this issue:
~~~- hammer report-template list | grep 130
130 | Subscription - Entitlement Report
- hammer report-template generate --report-format yaml --id 130
Input Days from Now: Value can't be blank
Input Days from Now: Value is not included in the list
~~~
Adding the "--inputs" flag with a value works:
~~~- hammer report-template generate --report-format yaml --id 130 --inputs "Days from Now"="no limit"
~~~
Version-Release number of selected component (if applicable):
Satellite 6.8.2
How reproducible:
always
Steps to Reproduce:
1.
2.
3.
Actual results:
report template fails to run due to error about "Days from Now"
Expected results:
report template should generate without warning
Additional info:
Updated by Oleh Fedorenko over 3 years ago
- Category changed from Statistics to Reporting
- Priority changed from High to Normal
- Difficulty set to easy
- Triaged changed from No to Yes
The error also appears when using API directly. I'd suggest allow nil or use default value for "Input Days from Now" input.
Updated by The Foreman Bot 10 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9942 added
Updated by Quinn James 10 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|a869ca41fd5792d55d4f55d541023af346bf35f1.
Updated by The Foreman Bot 8 months ago
- Pull request https://github.com/theforeman/foreman/pull/10005 added