Bug #38402
openhammer task list shows extra syntax/tags for repository and CV related tasks
Description
Description of problem:
hammer task list shows extra syntax/tags for repository and CV related tasks where names or other details are normally shown in WebUI.
How reproducible:
always
Steps to Reproduce:
1. Sync a repo, add it to a CV, publish and promote the CV.
2. Check the related tasks via hammer.
- hammer task list
...
<id> | Promote content_view {"text"=>"content view 'CV-1'", "link"=>"/content_views/... | stopped | success | ...
<id> | Publish content_view {"text"=>"content view 'CV-1'", "link"=>"/content_views/... | stopped | success | ...
<id> | Update content_view {"text"=>"content view 'CV-1'", "link"=>"/content_views/2... | stopped | success | ...
<id> | Synchronize repository {"text"=>"repository 'Red Hat Ansible Engine 2 for RHE... | stopped | success | ...
<id> | Enable repository {"text"=>"repository 'Red Hat Ansible Engine 2 for RHEL 8 x... | stopped | success | ...
Expected results:
Captions similar to those in WebUI, no tags:
Promote content view 'CV-1'; organization 'Default Organization'
Publish content view 'CV-1'; organization 'Default Organization'
Update content view 'CV-1'; organization 'Default Organization'
Synchronize repository 'Red Hat Ansible Engine 2 for RHEL 8 x86_64 RPMs'; product 'Red Hat Ansible Engine'; organization 'Default Organization'
Enable repository 'Red Hat Ansible Engine 2 for RHEL 8 x86_64 RPMs'; product 'Red Hat Ansible Engine'; organization 'Default Organization'