Project

General

Profile

Bug #27339

in hammer, report template schedule doesn't work with unique parameter --name when parameters wait and path are provided

Added by Oleh Fedorenko 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1730375

Description of problem:
in hammer, report template schedule doesn't work with unique parameter --name when parameters wait and path are provided

Version-Release number of selected component (if applicable):
Satellite 6.6 snap 7

How reproducible:
Always

Steps to Reproduce:
1. create test report template
2. report-template schedule --name test --wait --path /tmp/

Actual results:
Missing arguments for 'id'

with id it works correctly
hammer report-template schedule --id <test-id> --wait --path /tmp/
The response has been saved to /tmp/test-<date>.txt

Expected results:
hammer report-template schedule --name test --wait --path /tmp/
The response has been saved to /tmp/test-<date>.txt

Additional info:
Not sure if this is bug for hammer, but I found it here, please if I should choose another component please let me know. (future improvement)

Associated revisions

Revision 4691d5c1 (diff)
Added by Oleh Fedorenko 3 months ago

Fixes #27339 - Report template schedule works with --name

History

#1 Updated by Oleh Fedorenko 3 months ago

  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned

#2 Updated by The Foreman Bot 3 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/429 added

#3 Updated by Martin Bacovsky 3 months ago

  • Triaged changed from No to Yes

#4 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases hammer-cli-foreman-0.18.0 added

#5 Updated by Oleh Fedorenko 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF